|
@@ -61,10 +61,6 @@ binary_sensor:
|
|
|
device_class: door
|
|
|
force_update: true
|
|
|
|
|
|
- - platform: workday
|
|
|
- country: SE
|
|
|
-
|
|
|
-
|
|
|
# Text to speech
|
|
|
tts:
|
|
|
- platform: google_translate
|
|
@@ -80,21 +76,21 @@ scene: !include scenes.yaml
|
|
|
mqtt: !include mqtt.yaml
|
|
|
|
|
|
|
|
|
-
|
|
|
-sql:
|
|
|
- - name: "Exterior light status"
|
|
|
- db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
|
|
|
- query: "SELECT IF(onOff>0,'on','off') AS status FROM RemoteRxLog.nexaLog where rxTx='R' and remote_id = '20071094' and button='1' order by ts desc LIMIT 1;"
|
|
|
- column: 'status'
|
|
|
- - name: "Outside temperature"
|
|
|
- db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
|
|
|
- query: "SELECT temp1 FROM RemoteRxLog.temp order by ts desc LIMIT 1;"
|
|
|
- column: 'status'
|
|
|
- unit_of_measurement: "°C"
|
|
|
- - name: "Piano-lamp repeater status"
|
|
|
- db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
|
|
|
- query: "SELECT IF(onOff>0,'on','off') AS status FROM RemoteRxLog.nexaLog where rxTx='R' and remote_id = '20071094' and button='2' order by ts desc LIMIT 1;"
|
|
|
- column: 'status'
|
|
|
+# These are done in the UI. Because they stopped working after 2023_12 update
|
|
|
+#sql:
|
|
|
+ #- name: "Exterior light status"
|
|
|
+ # db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
|
|
|
+ # query: "SELECT IF(onOff>0,'on','off') AS status FROM RemoteRxLog.nexaLog where rxTx='R' and remote_id = '20071094' and button='1' order by ts desc LIMIT 1;"
|
|
|
+ # column: 'status'
|
|
|
+ #- name: "Outside temperature"
|
|
|
+ # db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
|
|
|
+ # query: "SELECT temp1 FROM RemoteRxLog.temp order by ts desc LIMIT 1;"
|
|
|
+ # column: 'status'
|
|
|
+ # unit_of_measurement: "°C"
|
|
|
+ #- name: "Piano-lamp repeater status"
|
|
|
+ # db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
|
|
|
+ # query: "SELECT IF(onOff>0,'on','off') AS status FROM RemoteRxLog.nexaLog where rxTx='R' and remote_id = '20071094' and button='2' order by ts desc LIMIT 1;"
|
|
|
+ # column: 'status'
|
|
|
|
|
|
#google_assistant:
|
|
|
# project_id: home-assistant-7390
|
|
@@ -111,4 +107,4 @@ sql:
|
|
|
#Alittlesecret
|
|
|
#https://chef.hassio.sundby.com
|
|
|
#Service acc name: thisisthomasserviceaccountname
|
|
|
-
|
|
|
+
|