mqtt.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 lights"
  28. unique_id: "kitchen_worktop_lights"
  29. state_topic: "kitchen/worktop/lights"
  30. command_topic: "kitchen/worktop/lights/set"
  31. availability:
  32. - topic: "kitchen/worktop/lights/available"
  33. retain: true
  34. optimistic: false
  35. qos: 0
  36. brightness_scale: 1000
  37. max_mireds: 370
  38. min_mireds: 250
  39. brightness: true
  40. color_mode: true
  41. supported_color_modes: ["color_temp"]
  42. - schema: json
  43. name: "Kitchen test"
  44. unique_id: "kitchen_test"
  45. state_topic: "kitchen/worktop/lights_test"
  46. command_topic: "kitchen/worktop/lights_test/set"
  47. retain: false
  48. optimistic: false
  49. qos: 0
  50. brightness_scale: 1000
  51. brightness: true