configuration.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. input_button:
  27. history:
  28. system_health:
  29. http:
  30. use_x_forwarded_for: true
  31. trusted_proxies:
  32. - 192.168.1.110
  33. pyscript:
  34. allow_all_imports: true
  35. rflink:
  36. host: 127.0.0.1
  37. port: 12345
  38. wait_for_ack: false
  39. ignore_devices:
  40. - newkaku_000001_01
  41. #volvooncall:
  42. # username: thomas.chef@volvo.com
  43. # password: !secret voc_password
  44. # scandinavian_miles: true
  45. # mutable: false
  46. binary_sensor:
  47. - platform: rflink
  48. devices:
  49. newkaku_02ddc7fa_4:
  50. name: Bedroom door raw sensor
  51. device_class: door
  52. force_update: true
  53. - platform: workday
  54. country: SE
  55. # Text to speech
  56. tts:
  57. - platform: google_translate
  58. switch: !include switches.yaml
  59. input_boolean: !include input_booleans.yaml
  60. input_number: !include input_numbers.yaml
  61. light: !include lights.yaml
  62. group: !include groups.yaml
  63. automation: !include automations.yaml
  64. script: !include scripts.yaml
  65. scene: !include scenes.yaml
  66. mqtt: !include mqtt.yaml
  67. sql:
  68. - name: "Exterior light status"
  69. db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
  70. 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;"
  71. column: 'status'
  72. - name: "Outside temperature"
  73. db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
  74. query: "SELECT temp1 FROM RemoteRxLog.temp order by ts desc LIMIT 1;"
  75. column: 'status'
  76. unit_of_measurement: "°C"
  77. - name: "Piano-lamp repeater status"
  78. db_url: mysql://hassio:hassiopassword@192.168.1.110/RemoteRxLog
  79. 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;"
  80. column: 'status'