salt lamp

This commit is contained in:
Your Name
2019-11-08 10:53:58 +03:00
parent f76cf5a122
commit b82ceece55
4 changed files with 53 additions and 38 deletions
@@ -24,6 +24,7 @@ watchdog_wemos_uptime:
- sensor.uptime_domofon - sensor.uptime_domofon
- sensor.uptime_kitchen_led - sensor.uptime_kitchen_led
- sensor.uptime_nest - sensor.uptime_nest
- sensor.uptime_salt_lamp
check_interval: 60 check_interval: 60
timeout: 360 timeout: 360
global_dependencies: global_dependencies:
@@ -40,4 +41,3 @@ watchdog_sonoff_uptime:
timeout: 7200 timeout: 7200
global_dependencies: global_dependencies:
- globals - globals
+8
View File
@@ -7,6 +7,10 @@ services:
ports: ports:
- "1883:1883" - "1883:1883"
restart: always restart: always
logging:
driver: json-file
options:
max-size: 50m
noolite: noolite:
build: ./noolite/docker build: ./noolite/docker
@@ -34,6 +38,10 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /srv/mysql:/var/lib/mysql - /srv/mysql:/var/lib/mysql
logging:
driver: json-file
options:
max-size: 50m
hass: hass:
image: homeassistant/home-assistant:0.100.2 image: homeassistant/home-assistant:0.100.2
@@ -30,5 +30,9 @@ light.kitchen_mini_light:
light.yeelight_mono1_286c07f12bed: light.yeelight_mono1_286c07f12bed:
friendly_name: Балкон1 friendly_name: Балкон1
light.yeelight_mono1_f0b429a8d936: light.yeelight_mono1_f0b429a8d936:
friendly_name: Балкон2 friendly_name: Балкон2
light.salt_lamp:
friendly_name: Соляная лампа
@@ -19,3 +19,6 @@
- platform: mqtt - platform: mqtt
state_topic: 'tele/kitchen/UPTIME' state_topic: 'tele/kitchen/UPTIME'
name: 'uptime_kitchen' name: 'uptime_kitchen'
- platform: mqtt
state_topic: 'home/noolite/$stats/uptime'
name: 'uptime_salt_lamp'