from idiotic.item import Toggle, Trigger, Number, Group, display_unit Number("Brightness", display=display_unit("lx"), bindings={"http": {"pull": (30, "luna:8081/lx", None, float)}}, tags=("weather", "climate", "webui.show_sparkline"))
tags=("music_room", "light")) Group("Music Room Lights", tags=("living_room", "light"), command_send=True, members=c.items.with_tags({'light', 'music_room'})) Trigger("Music Room Motion", tags=("music_room", "motion", "occupancy", "nyi")) Toggle("Music Room Door", display=Toggle.DisplayOpenClosed, tags=("music_room", "hallway", "door", "occupancy", "nyi")) Number("Music Room Temperature", display=display_unit("C"), bindings={"http": {"pull": "cheerilee:8081/temp"}}, tags=("music_room", "temperature", "climate", "webui.show_sparkline", "webui.readonly")) Number("Music Room Humidity", display=Number.DisplayWholePercent, bindings={"http": {"pull": "cheerilee:8081/hum"}}, tags=("music_room", "humidity", "climate", "webui.show_sparkline", "webui.readonly")) Toggle("Music Room Air Conditioner", tags=("music_room", "ac", "climate", "nyi")) c.modules.thermostat.Thermostat( "Music Room Thermostat",
from idiotic.item import Toggle, Trigger, Number, Group, display_unit Number("Brightness", display=display_unit("lx"), bindings={"http": { "pull": (30, "luna:8081/lx", None, float) }}, tags=("weather", "climate", "webui.show_sparkline"))