Update demetriek to 1.1.1 (#134663)

This commit is contained in:
Franck Nijhof 2025-01-04 16:19:16 +01:00 committed by GitHub
parent aab676a313
commit 0589df7d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 4 deletions

View File

@ -13,7 +13,7 @@
"integration_type": "device",
"iot_class": "local_polling",
"loggers": ["demetriek"],
"requirements": ["demetriek==1.1.0"],
"requirements": ["demetriek==1.1.1"],
"ssdp": [
{
"deviceType": "urn:schemas-upnp-org:device:LaMetric:1"

View File

@ -50,7 +50,7 @@ NUMBERS = [
native_step=1,
native_min_value=0,
native_max_value=100,
has_fn=lambda device: bool(device.audio),
has_fn=lambda device: bool(device.audio and device.audio.available),
value_fn=lambda device: device.audio.volume if device.audio else 0,
set_value_fn=lambda api, volume: api.audio(volume=int(volume)),
),

View File

@ -755,7 +755,7 @@ defusedxml==0.7.1
deluge-client==1.10.2
# homeassistant.components.lametric
demetriek==1.1.0
demetriek==1.1.1
# homeassistant.components.denonavr
denonavr==1.0.1

View File

@ -645,7 +645,7 @@ defusedxml==0.7.1
deluge-client==1.10.2
# homeassistant.components.lametric
demetriek==1.1.0
demetriek==1.1.1
# homeassistant.components.denonavr
denonavr==1.0.1

View File

@ -2,6 +2,7 @@
# name: test_diagnostics
dict({
'audio': dict({
'available': True,
'volume': 100,
'volume_limit': dict({
'range_max': 100,