feat: improve Symcon controls, device readings and designer help
This commit is contained in:
1 parent
ff54f4461a
commit
00fca890de
50 files changed
+2447
-1840
No files matched your search
@@ -55,6 +55,7 @@ check($humidity['attributes']['device_class'] === 'humidity', 'Feuchtigkeit is r
|
||||
check($humidity['attributes']['symcon_numeric_value'] === 51.6 && $humidity['attributes']['unit_of_measurement'] === '%', 'Float humidity values keep their raw value and effective percent unit');
|
||||
$co2 = $describe->invoke($module, 11, 'CO₂', 'Haus / Temperaturen / CO₂', 10);
|
||||
check($co2['attributes']['device_class'] === 'carbon_dioxide', 'CO2 with a subscript 2 is recognized for integer ppm variables');
|
||||
check((new ReflectionMethod($module, 'deviceClassFor'))->invoke($module, '', 'Raumhelligkeit', 'lx') === 'illuminance', 'Lux units identify room brightness');
|
||||
$dimmer = $describe->invoke($module, 6, 'Dimmer', 'Haus / Dimmer', 10);
|
||||
check($dimmer['attributes']['brightness'] === 128, 'An integer dimmer uses its real 0-255 range');
|
||||
$floatDimmer = $describe->invoke($module, 7, 'Wert', 'Haus / Wert', 10);
|
||||
|
||||
Reference in new issue
Block a user