configuration.yaml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. config:
  2. frontend:
  3. homeassistant:
  4. counter:
  5. logbook:
  6. notify:
  7. input_datetime:
  8. input_select:
  9. input_text:
  10. timer:
  11. recorder:
  12. purge_keep_days: 5
  13. db_url: mysql://hassio:hassiopassword@192.168.1.110/hass?charset=utf8
  14. logger:
  15. default: info
  16. # logs:
  17. # custom_components.philips_airpurifier_coap: debug
  18. # aioairctrl: debug
  19. #coap: debug
  20. # logs:
  21. # homeassistant.components.mqtt: debug
  22. # logs:
  23. # rflink: debug
  24. # homeassistant.components.rflink: debug
  25. mobile_app:
  26. history:
  27. system_health:
  28. http:
  29. use_x_forwarded_for: true
  30. trusted_proxies:
  31. - 192.168.1.110
  32. pyscript:
  33. allow_all_imports: true
  34. rflink:
  35. host: 127.0.0.1
  36. port: 12345
  37. wait_for_ack: false
  38. ignore_devices:
  39. - newkaku_000001_01
  40. #volvooncall:
  41. # username: thomas.chef@volvo.com
  42. # password: !secret voc_password
  43. # scandinavian_miles: true
  44. # mutable: false
  45. binary_sensor:
  46. - platform: rflink
  47. devices:
  48. newkaku_02ddc7fa_4:
  49. name: Bedroom door raw sensor
  50. device_class: door
  51. force_update: true
  52. - platform: workday
  53. country: SE
  54. # Text to speech
  55. tts:
  56. - platform: google_translate
  57. switch: !include switches.yaml
  58. input_boolean: !include input_booleans.yaml
  59. input_number: !include input_numbers.yaml
  60. light: !include lights.yaml
  61. group: !include groups.yaml
  62. automation: !include automations.yaml
  63. script: !include scripts.yaml
  64. scene: !include scenes.yaml
  65. mqtt: !include mqtt.yaml
  66. sql:
  67. - name: "Exterior light status"
  68. db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
  69. 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;"
  70. column: 'status'
  71. - name: "Outside temperature"
  72. db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
  73. query: "SELECT temp1 FROM RemoteRxLog.temp order by ts desc LIMIT 1;"
  74. column: 'status'
  75. unit_of_measurement: "°C"
  76. - name: "Piano-lamp repeater status"
  77. db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
  78. 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;"
  79. column: 'status'