Bump letpot to 0.4.0 (#137007)

* Bump letpot to 0.4.0

* Fix test item
This commit is contained in:
Joris Pelgröm 2025-01-31 17:31:31 +01:00 committed by GitHub
parent f5924146c1
commit b85b834bdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -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
View File

@ -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

View File

@ -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

View File

@ -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,
)