|
@@ -94,10 +94,13 @@ class first_floor_east_sleep_madi(room_shelly_tradfri_light):
|
94
|
94
|
|
95
|
95
|
def fade_bed_light(self, device, topic, data):
|
96
|
96
|
if (data == 'brightness_up_hold'):
|
|
97
|
+ logger.info("Increasing brightness \"%s\" bed light dirk", type(self).__name__)
|
97
|
98
|
self.bed_light_di_tradfri.brightness_inc()
|
98
|
99
|
elif (data == 'brightness_down_hold'):
|
|
100
|
+ logger.info("Decreasing brightness \"%s\" bed light dirk", type(self).__name__)
|
99
|
101
|
self.bed_light_di_tradfri.brightness_dec()
|
100
|
102
|
elif (data.startswith('brightness') and data.endswith('release')):
|
|
103
|
+ logger.info("Stoping brightness change \"%s\" bed light dirk", type(self).__name__)
|
101
|
104
|
self.bed_light_di_tradfri.brightness_stop()
|
102
|
105
|
|
103
|
106
|
def gui_switch_command_bed_light_di(self, device, key, data):
|