sensor: - name: "Temperatur Hällby" state_topic: "micke/outside/temperature" unit_of_measurement: "°C" - name: Lux Hällby state_topic: "micke/lux/lux_calibrated" unit_of_measurement: "Lux" - name: Lux outside the garage state_topic: "garage/ambient/lux" unit_of_measurement: "lx" device_class: illuminance state_class: measurement availability: - topic: "garage/multi-sensor/status" payload_available: "online" payload_not_available: "offline" - name: SMHI Temperature state_topic: "sensors/outside/smhiTemperature" unit_of_measurement: "°C" - name: Frank Temperature state_topic: "sensors/outside/frankTemperature" unit_of_measurement: "°C" - name: Garage Ambiant Temperature state_topic: "garage/ambiant-temperature" unit_of_measurement: "°C" device_class: temperature state_class: measurement availability: - topic: "garage/multi-sensor/status" payload_available: "online" payload_not_available: "offline" - name: Garage Inside Temperature state_topic: "garage/temperature" unit_of_measurement: "°C" device_class: temperature state_class: measurement availability: - topic: "garage/multi-sensor/status" payload_available: "online" payload_not_available: "offline" - name: Garage Multi Sensor WiFi Signal Strength state_topic: "garage/multi-sensor/wifi-signal-strength" unit_of_measurement: "dBm" availability: - topic: "garage/multi-sensor/status" payload_available: "online" payload_not_available: "offline" - name: LVP Heater Accumulated Energy state_topic: "shellypmminig3-5432046a16e8/status/pm1:0" value_template: "{{ value_json.aenergy.total }}" unit_of_measurement: "Wh" device_class: energy state_class: total_increasing - name: LVP Heater Power state_topic: "shellypmminig3-5432046a16e8/status/pm1:0" value_template: "{{ value_json.apower }}" unit_of_measurement: "W" device_class: power state_class: measurement - name: Test of Ext Antenna WiFi Signal Strength state_topic: "ext-wifi-antenna-test/sensor/wifi_signal_strength/state" availability: - topic: "ext-wifi-antenna-test/status" payload_available: "online" payload_not_available: "offline" unit_of_measurement: "dBm" #device_class: signal_strength #state_class: measurement - name: Test TSL2561 Light Sensor state_topic: "ext-wifi-antenna-test/sensor/tsl2561_light_sensor/state" unit_of_measurement: "lx" availability: - topic: "ext-wifi-antenna-test/status" payload_available: "online" payload_not_available: "offline" #device_class: illuminance #state_class: measurement - name: Test DS18B20 Temp Sensor state_topic: "ext-wifi-antenna-test/sensor/garage_temperature/state" availability: - topic: "ext-wifi-antenna-test/status" payload_available: "online" payload_not_available: "offline" unit_of_measurement: "°C" # --------------------------------------- For Test --------------------------------------- #- name: Limedal Hottub Water Temperature # state_topic: "limedal-hottub/sensor/water_temperature/state" # unit_of_measurement: "°C" #- name: Limedal Hottub WiFi Signal Strength # state_topic: "limedal-hottub/sensor/wifi_signal_strength/state" # unit_of_measurement: "dBm" light: - schema: json name: "Kitchen worktop 4K" unique_id: "kitchen_worktop_lights_4K" state_topic: "kitchen/worktop/lights_4K" command_topic: "kitchen/worktop/lights_4K/set" # availability: # - topic: "kitchen/worktop/lights_4K/available" retain: true optimistic: false qos: 0 brightness_scale: 1000 brightness: true - schema: json name: "Kitchen worktop 27K" unique_id: "kitchen_worktop_lights_27K" state_topic: "kitchen/worktop/lights_27K" command_topic: "kitchen/worktop/lights_27K/set" # availability: # - topic: "kitchen/worktop/lights_27K/available" retain: true optimistic: false qos: 0 brightness_scale: 1000 brightness: true #light: # - name: "Front Door Light" # schema: template # unique_id: "shelly1minig3_front_door_light" # command_topic: "shelly1minig3-5432046e1e88/rpc" # command_on_template: '{"id":124, "src":"my_shelly", "method":"Switch.Set", "params":{"id":0, "on":true}}' # command_off_template: '{"id":124, "src":"my_shelly", "method":"Switch.Set", "params":{"id":0, "on":false}}' # state_topic: "shelly1minig3-5432046e1e88/events/rpc" # state_template: > # {% if value_json.method == "NotifyStatus" %} # {{ "on" if value_json.params["switch:0"].output else "off" }} # {% else %} # {{ states("light.front_door_light") }} # {% endif %} # retain: false # optimistic: false # availability_topic: "shelly1minig3-5432046e1e88/online" # payload_available: "true" # payload_not_available: "false" binary_sensor: - name: "Kitchen worklight switch" unique_id: "kitchen_worklight_switch" state_topic: "kitchen/worklight_switch" availability: - topic: "kitchen/worklight_switch/available" qos: 0 device_class: power - name: "Kitchen Fridge Door" unique_id: "kitchen_fridge_door" state_topic: "kitchen/fridge/doorState" availability: - topic: "kitchen/fridge/available" qos: 0 device_class: door payload_on: "open" payload_off: "closed" - name: "Kitchen Freezer Door" unique_id: "kitchen_freezer_door" state_topic: "kitchen/freezer/doorState" availability: - topic: "kitchen/fridge/available" qos: 0 device_class: door payload_on: "open" payload_off: "closed" - name: "Mouse Detector" unique_id: "kitchen_mouse_detector" state_topic: "kitchen/mouse/motion" payload_on: "ON" payload_off: "OFF" availability_topic: "kitchen/mouse/status" payload_available: "online" payload_not_available: "offline" device_class: motion switch: - name: "Kitchen Audible Alarm" state_topic: "kitchen/alarm/state" command_topic: "kitchen/alarm/set" availability: - topic: "kitchen/alarm/available" payload_on: "on" payload_off: "off" state_on: "on" state_off: "off" retain: true qos: 1 unique_id: "kitchen_audible_alarm" #- name: "Limedal Hottub Strong LED Light" # state_topic: "limedal-hottub/switch/strong_led_switch/state" # command_topic: "limedal-hottub/switch/strong_led_switch/command" # payload_on: "ON" # payload_off: "OFF" # state_on: "ON" # state_off: "OFF" # unique_id: "limedal_hottub_strong_led_light" #- name: "Front Door Light" # unique_id: "shelly1minig3_front_door_light" # state_topic: "shelly1minig3-front-door/relay/0/status" # command_topic: "shelly1minig3-front-door/command/switch:0" # availability: # - topic: "shelly1minig3-front-door/online" # payload_on: "on" # payload_off: "off" # state_on: "on" # state_off: "off" # retain: true # qos: 1 #- unique_id: shelly1minig3_front_door_light # name: "Front Door Light" # state_topic: "shelly1minig3-5432046e1e88/events/rpc" # value_template: > # {% if value_json.method == "NotifyStatus" %} # {{ "ON" if value_json.params["switch:0"].output else "ON" }} # {% else %} # {{ states("switch.front_door_light") }} # {% endif %} # command_topic: "shelly1minig3-5432046e1e88/rpc" # payload_on: '{"id":1,"src":"ha","method":"Switch.Set","params":{"id":0,"on":true}}' # payload_off: '{"id":1,"src":"ha","method":"Switch.Set","params":{"id":0,"on":false}}' # qos: 1 # retain: true # payload_available: "true" # state_on: "ON" # state_off: "OFF" # - unique_id: shelly1minig3_wood_shed_light # name: "Wood Shed Light" # state_topic: "shelly1minig3-5432046da248/events/rpc" # value_template: > # {% if value_json.method == "NotifyStatus" %} # {{ "ON" if value_json.params["switch:0"].output else "ON" }} # {% else %} # {{ states("switch.wood_shed_light") }} # {% endif %} # #command_topic: "shelly1minig3-5432046da248/command/switch:0" # #payload_on: "on" # #payload_off: "off" # command_topic: "shelly1minig3-5432046da248/rpc" # payload_on: '{"id":1,"src":"ha","method":"Switch.Set","params":{"id":0,"on":true}}' # payload_off: '{"id":1,"src":"ha","method":"Switch.Set","params":{"id":0,"on":false}}' # qos: 1 # retain: true # payload_available: "true" # state_on: "ON" # state_off: "OFF" button: - name: "Kitchen Alarm Notification" command_topic: "kitchen/alarm/notification" payload_press: "notification" qos: 1 retain: false unique_id: "kitchen_alarm_notification"