浏览代码

2023_12 update

pi 1 年之前
父节点
当前提交
702d447057
共有 1 个文件被更改,包括 16 次插入20 次删除
  1. 16 20
      configuration.yaml

+ 16 - 20
configuration.yaml

@@ -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
-   
+