updating configuration

This commit is contained in:
Your Name
2020-01-20 10:14:08 +03:00
parent 4904b639e3
commit eb13a3ab19
11 changed files with 86 additions and 40 deletions
@@ -6,13 +6,5 @@ kitchen_led_controller:
class: KitchenLedController
watch_entity: light.kitchen
topic: home/kitchen-led/kitchen-led/state/set
global_dependencies:
- globals
bath_led_controller:
module: kitchen_led_controller
class: KitchenLedController
watch_entity: light.bath
control_entity: light.philips_led
global_dependencies:
- globals
+11 -11
View File
@@ -50,17 +50,17 @@ water_sensor:
global_dependencies:
- globals
water_sender:
class: WaterCounterSender
module: mosru
entity_ids:
hot: sensor.counter_hot
cold: sensor.counter_cold
app: mosru_client
dependencies:
- mosru_client
global_dependencies:
- globals
# water_sender:
# class: WaterCounterSender
# module: mosru
# entity_ids:
# hot: sensor.counter_hot
# cold: sensor.counter_cold
# app: mosru_client
# dependencies:
# - mosru_client
# global_dependencies:
# - globals
power_sender:
class: PowerCounterSender
@@ -42,6 +42,9 @@ class TelegramTest(hass.Hass):
self.log('Device has no screen present.')
return
if "&feature=share" in video_url:
video_url = video_url.replace("&feature=share", '')
# Preparing request
headers = {
"x-csrf-token": token,