Commit Graph
4 Commits
Author SHA1 Message Date
imonlinux 6868651823 Revert API Microphone Mute Switch 2025-10-12 10:09:45 -07:00
imonlinux 415130aeb4 Add Microphone Mute Switch Entity
Defines a new MicMuteSwitchEntity class that creates the switch entity in Home Assistant.

When the switch is toggled, it publishes a set_mic_mute event to the internal event bus with the new state (True for muted, False for unmuted).
2025-10-11 17:08:42 -07:00
imonlinux 18f29c52da Implement Volume Persistence
Updates the MediaPlayerEntity to handle the saving and loading logic.

The entity's internal volume state is now initialized from the saved preferences.volume_level.

When a volume change command is received from Home Assistant, the handle_message method now updates the Preferences object and calls save_preferences() to persist the new volume level to disk.
2025-10-11 15:35:23 -07:00
Michael Hansen 4356633ed6 Rename to Linux Voice Assistant 2025-08-26 09:30:58 -05:00