mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
parent
f5924146c1
commit
b85b834bdc
@ -7,5 +7,5 @@
|
||||
"integration_type": "hub",
|
||||
"iot_class": "cloud_push",
|
||||
"quality_scale": "bronze",
|
||||
"requirements": ["letpot==0.3.0"]
|
||||
"requirements": ["letpot==0.4.0"]
|
||||
}
|
||||
|
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@ -1305,7 +1305,7 @@ led-ble==1.1.4
|
||||
lektricowifi==0.0.43
|
||||
|
||||
# homeassistant.components.letpot
|
||||
letpot==0.3.0
|
||||
letpot==0.4.0
|
||||
|
||||
# homeassistant.components.foscam
|
||||
libpyfoscam==1.2.2
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -1104,7 +1104,7 @@ led-ble==1.1.4
|
||||
lektricowifi==0.0.43
|
||||
|
||||
# homeassistant.components.letpot
|
||||
letpot==0.3.0
|
||||
letpot==0.4.0
|
||||
|
||||
# homeassistant.components.foscam
|
||||
libpyfoscam==1.2.2
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
import datetime
|
||||
|
||||
from letpot.models import AuthenticationInfo, LetPotDeviceStatus
|
||||
from letpot.models import AuthenticationInfo, LetPotDeviceErrors, LetPotDeviceStatus
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
@ -26,6 +26,7 @@ AUTHENTICATION = AuthenticationInfo(
|
||||
)
|
||||
|
||||
STATUS = LetPotDeviceStatus(
|
||||
errors=LetPotDeviceErrors(low_water=False),
|
||||
light_brightness=500,
|
||||
light_mode=1,
|
||||
light_schedule_end=datetime.time(12, 10),
|
||||
@ -38,5 +39,4 @@ STATUS = LetPotDeviceStatus(
|
||||
raw=[77, 0, 1, 18, 98, 1, 0, 0, 1, 1, 1, 0, 1, 12, 0, 12, 10, 1, 244, 0, 0, 0],
|
||||
system_on=True,
|
||||
system_sound=False,
|
||||
system_state=0,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user