add domains: alarm_control_panel, cover, media_player, scene

This commit is contained in:
jackson
2023-01-29 19:14:10 -05:00
parent bbfdf31e51
commit 1f1f4e97ca
6 changed files with 603 additions and 24 deletions

View File

@@ -9,9 +9,12 @@ import (
)
func BuildService[
T Light |
T AlarmControlPanel |
Cover |
Light |
HomeAssistant |
Lock |
MediaPlayer |
Switch |
InputBoolean |
InputButton |
@@ -19,7 +22,8 @@ func BuildService[
InputText |
InputNumber |
Notify |
Number,
Number |
Scene,
](conn *websocket.Conn, ctx context.Context) *T {
return &T{conn: conn, ctx: ctx}
}