psmqtt
psmqtt copied to clipboard
Extracting values to HA
Temp sensor in HA gives "unknown"
And MQTT Explorer gives
ASUS_CPU sensor is working but that ASUS_TEMP is not working? What should I do? What am I missing there?
- platform: mqtt
name: "ASUS_CPU"
state_topic: "psmqtt/cpu_percent"
- platform: mqtt
name: "ASUS_TEMP"
state_topic: "psmqtt/sensors_temperatures"
value_template: "{{ value_json.asus }}"
json_attributes_topic: "psmqtt/sensors_temperatures"
You can try value_template: "{{ value_json.asus[0] }}" because that value is an array