Lighting
Virtual Devices
ha-china/virtual_devices · v2026.08.3
HACSLocal polling
This is a custom integration compliant with Home Assistant 2025.8.0+ standards, allowing you to create virtual devices with multiple entities under a single device, ideal for testing, demonstrations, and development purposes.
In Apple Home through HomeKit Bridge
What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.
| Entity | Shows up as | Note |
|---|---|---|
light | Light | |
switch | Switch or outlet | |
cover | Blind, garage door, window or door | |
climate | Thermostat | |
fan | Fan | |
humidifier | Humidifier or dehumidifier | |
lock | Lock | Needs its own HomeKit Bridge in accessory mode |
media_player | TV, receiver or media switches | Needs its own HomeKit Bridge in accessory mode |
camera | Camera | Needs its own HomeKit Bridge in accessory mode |
remote | TV remote (activities) | Needs its own HomeKit Bridge in accessory mode |
alarm_control_panel | Security system | |
binary_sensor | Sensor (motion, contact, leak, smoke…) | |
sensor | Sensor (temperature, humidity, air quality…) | |
vacuum | Vacuum (as a switch) | |
lawn_mower | Lawn mower (as a switch) | |
valve | Valve | |
water_heater | Water heater (as a thermostat) | |
button | Button (as a switch) | |
scene | Scene (as a switch) | |
select | Mode picker (as switches) |
How it connects
Local polling
Talks to the device on your network, asking it for updates every so often.
Details
| Installs (analytics) | 110 (0.02%) |
|---|---|
| GitHub stars | 25 |
| Latest version | 2026.08.3 (2026-08-11) |
| Set up in the UI | Yes |
| Maintainers | @ha-china |
| License | MIT |
Devices listed in its README
- Device Type
- 🔆 Light
- 🔌 Switch
- ❄️ Climate
- 🪟 Cover
- 💨 Fan
- 🚨 Binary Sensor
- 📺 Media Player
- 🎮 Button
- 🎬 Scene
- 📊 Sensor
- 💧 Humidifier
- 🌬️ Air Purifier
- 🌤️ Weather
- 🤖 Vacuum
- 📹 Camera
- 🔒 Lock
- 🚰 Valve
- 🔋 Water Heater
- 🧺 Washer
- 👕 Dryer
- 🚨 Siren
- 🛡️ Alarm Control Panel
- 🎛️ Remote
- 🌿 Lawn Mower
- 💦 Dehumidifier
- 🍽️ Dishwasher
- 🧊 Refrigerator
- 🔔 Doorbell
- 🚗 Vehicle
- switch: power control
- select: program selection, plus washer temperature/spin speed or dryer drying target
- button: start, pause, resume, and stop
- number: delay start minutes
- sensor: operation state, remaining time, total time, progress, and finish time
- binarysensor`: door, remote start, and remote control
- lock: door lock
- switch: defrost, sentry mode, charge, auto seat climate (L/R), steering wheel heater, cabin overheat protection (EV); light, horn (E-bike)
- select: drive mode; seat heater ×5 (front-left/right, rear-left/center/right), steering wheel heater (EV)
- button: flash lights, honk horn; wake, keyless driving (EV)
- number: target temperature; charge limit, charge current (EV); speed limit, assist level (E-bike)
- climate: cabin climate control (Car & EV)
- cover: trunk, sunroof, windows (group + 4 individual), frunk, charge port door (EV)
- sensor: operation state, remaining time, total time, finish time
- binarysensor`: door
- switch: power
- select: program (eco, auto, intensive, quick, rinse)
- button: start, pause, resume, stop
- sensor: fridge temperature, freezer temperature, mode
- binarysensor`: fridge door, freezer door
- select: mode (normal, eco, quick_cool, vacation)
- number: fridge temperature, freezer temperature
- sensor: last ring time
- binarysensor`: motion detection
- select: chime (classic, digital, westminster, silent)
- button: ring
- camera: doorbell camera with motion detection and night vision
- event: ring, motion, button press
In ReReHome
Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.
Bridges get their own settings page listing the accessories behind them.
Sources
- Documentation: https://github.com/ha-china/virtual_devices
- Source code: https://github.com/ha-china/virtual_devices
- Issues: https://github.com/ha-china/virtual_devices/issues
- HACS: https://hacs.xyz