github twrecked/hass-virtual v0.10.0-alpha.2
version 0.10.0-alpha.2

pre-release4 hours ago

🚀 Virtual v0.10.0-alpha.2 — Media Player, Climate, Alarm Panel, Button, Select, and Text Platform Expansion

⚠️ Alpha Release & Community Testing Notice

Virtual v0.10 is an active alpha pre-release.

If you encounter any bugs, regressions, or configuration issues, please open a GitHub issue with your configuration snippet and debug logs.

(Legacy v0.9 documentation is archived in README_v9.md).


🌟 What's New in v0.10.0-alpha.2

1. Six New Virtual Platforms

Expanded the virtual device platform lineup from 10 to 16 supported platforms:

  1. media_player (MediaPlayerEntity):
    • Virtual TVs, speakers, and receivers for testing dashboard media cards, automations, and silent TTS / announcement playback.
    • Supports play/pause/stop, volume slider (0.0–1.0), mute toggle, input source selection, sound mode selection, and play_media.
  2. climate (ClimateEntity):
    • Virtual thermostat and HVAC units supporting target setpoints, presets, and fan modes.
    • Dynamic hvac_action calculation (heating, cooling, idle, off) automatically computed from ambient temperature vs. setpoint.
    • Controllable via native climate.set_temperature, climate.set_hvac_mode, climate.set_preset_mode, climate.set_fan_mode.
    • Custom virtual.set_current_temperature service for simulating ambient room temperature drops/rises in automations.
  3. alarm_control_panel (AlarmControlPanelEntity):
    • Virtual security alarm panel with configurable PIN codes (code), arming exit delays (arming_time), and trigger entry delays (trigger_time).
    • Supports states: disarmed, armed_home, armed_away, armed_night, armed_vacation, arming, pending, and triggered.
    • Controllable via native services: alarm_arm_home, alarm_arm_away, alarm_arm_night, alarm_arm_vacation, alarm_disarm, and alarm_trigger.
  4. button (ButtonEntity):
    • Push-button entities to trigger automations and actions.
    • Supports standard device classes (identify, restart, update).
    • Fires a virtual_button_pressed event on the Home Assistant event bus with entity_id and name when pressed.
    • Controllable via the native button.press service.
  5. select (SelectEntity):
    • Multi-option dropdown selectors.
    • Configure custom option lists (options: ["Home", "Away", "Night", "Vacation"]).
    • Remembers current option across restarts with persistent: true.
    • Controllable via the native select.select_option, select.select_first, select.select_last, and select.select_next services.
  6. text (TextEntity):
    • Text input entities with customizable string constraints.
    • Supports min and max character limits.
    • Supports input display modes (text or password).
    • Supports optional regex validation pattern (pattern).
    • Controllable via the native text.set_value service.

2. Virtual Device Editor Updates

  • Added media_player, climate, alarm_control_panel, button, select, and text platform support to the Visual Device Editor.
  • Added new preset templates:
    • Smart Television: Virtual TV with volume controls and selectable HDMI/App sources.
    • Media Speaker: Virtual speaker for audio and silent TTS testing.
    • Smart Thermostat: Climate entity with target & ambient temps, heat/cool/auto modes, and presets.
    • Security Alarm Panel: Alarm panel with PIN code 1234 and 10s entry/exit delays.
    • Mode Selector: Preset dropdown with Home, Away, Night, Vacation.
    • Action Button: Push-button configured to trigger automations.
    • Text Input: Configurable text message field.
  • Added options string inputs, text constraints, and alarm PIN/delay fields directly in entity cards.

Don't miss a new hass-virtual release

NewReleases is sending notifications on new releases.