An enterprise-grade virtual device integration for Home Assistant 2025.10.0+ with multi-entity device support. it provides a complete device simulation environment for testing, demonstrations, development, and educational purposes.
- 🎯 Multi-Entity Devices: Create 1-10 entities of the same type under one device
- 🛠️ 18 Device Types: Cover all major smart home device categories
- 🎨 Graphical Configuration: Web-based wizard with step-by-step guidance
- 📊 Template System: Dynamic sensor calculations, media content, and image generation
- 💾 State Persistence: Automatic save and restore of device states
- 🌍 Multi-Language Support: Complete Chinese and English interface
- 🔧 Enterprise Quality: HACS Silver certified, strict HA standards compliance
- ⚡ High Performance: Async operations with optimized resource usage
- 🎮 Automation Friendly: Rich event triggers and state feedback
| Device Type | Features | Complexity |
|---|---|---|
| 🔆 Light | Brightness/Color Temp/RGB/Effects | ⭐⭐⭐ |
| 🔌 Switch | Basic on/off with state persistence | ⭐ |
| ❄️ Climate | Temp control/Multiple modes/Fan speeds | ⭐⭐⭐ |
| 🪟 Cover | 8 types with position control | ⭐⭐ |
| 💨 Fan | Variable speed/Modes/Oscillation | ⭐⭐ |
| 🚨 Binary Sensor | 13 status monitoring types | ⭐⭐ |
| Device Type | Features | Complexity |
|---|---|---|
| 📺 Media Player | 6 types/Playback control/Volume | ⭐⭐⭐⭐ |
| 🎮 Button | 4 types for automation triggers | ⭐ |
| 🎬 Scene | Multi-device linkage/State recovery | ⭐⭐ |
| Device Type | Features | Complexity |
|---|---|---|
| 📊 Sensor | 16 environmental/power/air quality types | ⭐⭐⭐ |
| 💧 Humidifier | 5 modes/Humidity control/Water level | ⭐⭐⭐⭐ |
| 🌬️ Air Purifier | 6 purification modes/AQI monitoring | ⭐⭐⭐⭐⭐ |
| 🌤️ Weather | Complete weather/5-day forecast | ⭐⭐⭐ |
| Device Type | Features | Complexity |
|---|---|---|
| 🤖 Vacuum | Cleaning modes/Charging/Path planning | ⭐⭐⭐⭐ |
| 📹 Camera | 5 types/Recording/Night vision/PTZ | ⭐⭐⭐⭐⭐ |
| 🔒 Lock | 4 types/Passwords/Auto-lock | ⭐⭐⭐ |
| 🚰 Valve | 4 types/Flow control/Position feedback | ⭐⭐⭐⭐ |
| Device Type | Features | Complexity |
|---|---|---|
| 🔋 Water Heater | 5 heating modes/Energy management | ⭐⭐⭐ |
- Go to HACS → Integrations
- Click Menu → Custom Repositories
- Add repository:
https://github.com/ha-china/virtual_devices - Search for "Virtual Devices Multi" and install
- Restart Home Assistant
- Download the latest release
- Extract to
config/custom_components/virtual_devices/ - Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for "Virtual Devices Multi"
- Follow the configuration wizard
# Test automation rules
- alias: "Test Light Scene"
trigger:
platform: state
entity_id: button.test_scene_button
action:
service: scene.turn_on
target:
entity_id: scene.test_living_room# Complete smart home demo
Device Name: Smart Showroom Devices
Entity Count: 8
Type: Mixed Device Showcase# Home Assistant learning environment
- Sensor data simulation
- Automation rule testing
- UI customization
- API interface learningWe welcome all forms of contributions!
- Use GitHub Issues
- Provide detailed error logs
- Include reproduction steps
- Describe expected behavior
- Mark Issues as "enhancement"
- Describe feature requirements in detail
- Explain use cases
- Consider implementation feasibility
- Fork the project repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Create a Pull Request
- Translate documentation to other languages
- Improve existing documentation content
- Add usage examples
- Create video tutorials
This project is licensed under the MIT License - see the LICENSE file for details
- GitHub Repository: https://github.com/ha-china/virtual_devices
- Issue Reporting: https://github.com/ha-china/virtual_devices/issues
- Feature Requests: https://github.com/ha-china/virtual_devices/discussions
- Changelog: CHANGELOG.md
- API Documentation: WIKI