Smarthome Functionen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

first_floor_west.py 899B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. import logging
  5. from function.rooms import room_shelly, room_shelly_tradfri_light, room_shelly_silvercrest_light
  6. try:
  7. from config import APP_NAME as ROOT_LOGGER_NAME
  8. except ImportError:
  9. ROOT_LOGGER_NAME = 'root'
  10. logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
  11. class first_floor_west_julian(room_shelly_tradfri_light):
  12. # http://shelly1l-3C6105E43452
  13. def __init__(self, mqtt_client):
  14. super().__init__(mqtt_client, "shellies/ffw/julian/main_light", "gui/ffw/julian/main_light/switch",
  15. "zigbee/ffe/julian/main_light", "gui/ffw/julian/main_light/br_ct")
  16. class first_floor_west_living(room_shelly):
  17. # http://shelly1l-84CCA8ACE6A1
  18. def __init__(self, mqtt_client):
  19. super().__init__(mqtt_client, "shellies/ffw/livingroom/main_light", "gui/ffw/livingroom/main_light/switch")