Skip to content
Snippets Groups Projects
Unverified Commit 0589df7d authored by Franck Nijhof's avatar Franck Nijhof Committed by GitHub
Browse files

Update demetriek to 1.1.1 (#134663)

parent aab676a3
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
......@@ -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)),
),
......
......@@ -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
......
......@@ -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
......
......@@ -2,6 +2,7 @@
# name: test_diagnostics
dict({
'audio': dict({
'available': True,
'volume': 100,
'volume_limit': dict({
'range_max': 100,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment