# {"Time":"2020-12-08T02:09:02","BME280":{"Temperature":21.5,"Humidity":39.1,"DewPoint":6.9,"Pressure":906.5},"PressureUnit":"hPa","TempUnit":"C"} homeassistant: customize: sensor.bme_outside_temperature: friendly_name: 'Outside Temperature' sensor: - platform: mqtt name: "bme_outside_temperature" state_topic: "tele/outside/SENSOR" qos: 0 unit_of_measurement: "F" value_template: "{{ '%.1f'%(value_json.BME280.Temperature * 9 / 5 + 32 | float) }}" - platform: mqtt name: "bme_outside_dew_point_temperature" state_topic: "tele/outside/SENSOR" qos: 0 unit_of_measurement: "F" value_template: "{{ '%.1f'%(value_json.BME280.DewPoint * 9 / 5 + 32 | float) }}" - platform: mqtt name: "bme_outside_humidity" state_topic: "tele/outside/SENSOR" qos: 0 unit_of_measurement: "%" value_template: "{{ '%.1f'%(value_json.BME280.Humidity | float) }}" - platform: mqtt name: "bme_outside_barometric_pressure" state_topic: "tele/outside/SENSOR" qos: 0 unit_of_measurement: "inHg" value_template: "{{ '%.2f'%(value_json.BME280.Pressure / 33.86 + 3.57 | float) }}" switch: - platform: mqtt name: "Outside North Circuit" state_topic: "stat/outside/POWER" command_topic: "cmnd/outside/POWER" availability_topic: "tele/outside/LWT" qos: 1 payload_on: "ON" payload_off: "OFF" payload_available: "Online" payload_not_available: "Offline" retain: false