mqtt.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. sensor:
  2. - name: "Temperatur Hällby"
  3. state_topic: "micke/outside/temperature"
  4. unit_of_measurement: "°C"
  5. - name: Lux Hällby
  6. state_topic: "micke/lux/lux_calibrated"
  7. unit_of_measurement: "Lux"
  8. - name: Lux outside the garage
  9. state_topic: "sensors/outside/lux"
  10. unit_of_measurement: "Lux"
  11. - name: SMHI Temperature
  12. state_topic: "sensors/outside/smhiTemperature"
  13. unit_of_measurement: "°C"
  14. - name: Frank Temperature
  15. state_topic: "sensors/outside/frankTemperature"
  16. unit_of_measurement: "°C"
  17. binary_sensor:
  18. - name: "Kitchen worklight switch"
  19. unique_id: "kitchen_worklight_switch"
  20. state_topic: "kitchen/worklight_switch"
  21. availability:
  22. - topic: "kitchen/worklight_switch/available"
  23. qos: 0
  24. device_class: power
  25. light:
  26. - schema: json
  27. name: "Kitchen worktop 4K"
  28. unique_id: "kitchen_worktop_lights_4K"
  29. state_topic: "kitchen/worktop/lights_4K"
  30. command_topic: "kitchen/worktop/lights_4K/set"
  31. # availability:
  32. # - topic: "kitchen/worktop/lights_4K/available"
  33. retain: true
  34. optimistic: false
  35. qos: 0
  36. brightness_scale: 1000
  37. brightness: true
  38. - schema: json
  39. name: "Kitchen worktop 27K"
  40. unique_id: "kitchen_worktop_lights_27K"
  41. state_topic: "kitchen/worktop/lights_27K"
  42. command_topic: "kitchen/worktop/lights_27K/set"
  43. # availability:
  44. # - topic: "kitchen/worktop/lights_27K/available"
  45. retain: true
  46. optimistic: false
  47. qos: 0
  48. brightness_scale: 1000
  49. brightness: true