Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95468

Converting MQTT data from C to F

$
0
0

@GaryREM wrote:

After a few days work I now can access my Flair vent data in HA using an MQTT broker.

Flair transmits all temperature as C and I want to present it as F. I thought I could use a template but am doing something wrong.

# HVAC Flair vents and pucks
climate:
  - platform: mqtt
    name: "Master Bedroom"
    current_temperature_topic: "homeassistant/sensors/flair/puck/Master Bedroom-a30f/Temperature"
    current_temperature_template: "{{(value * 9/5)+32}}"
    precision: 0.1

Without the template line the correct C value shows up. But with the template line, I get nothing.

Help this noob please!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>