You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log details (WARNING)
Logger: homeassistant.helpers.template
Source: helpers/template.py:2318
First occurred: 15:26:52 (18 occurrences)
Last logged: 15:26:52
Template variable warning: 'dict object' has no attribute 'protein' when rendering '{{ value_json['protein'] }}'
Template variable warning: 'dict object' has no attribute 'metabolic_age' when rendering '{{ value_json['metabolic_age'] }}'
Template variable warning: 'dict object' has no attribute 'body_type' when rendering '{{ value_json['body_type'] }}'
Template variable warning: 'dict object' has no attribute 'lean_body_mass' when rendering '{{ value_json['lean_body_mass'] }}'
Template variable warning: 'dict object' has no attribute 'impedance' when rendering '{{ value_json['impedance'] }}'
My configuration lines look like :
mqtt:
sensor:
- name: "Mesut Protein Oranı"
state_topic: "miscale/Mesut/weight"
value_template: "{{ value_json['protein'] }}"
icon: mdi:dumbbell
unit_of_measurement: "%"
json_attributes_topic: "miscale/Mesut/weight"
# Below lines only needed if long term statistics are required
state_class: "measurement"
The text was updated successfully, but these errors were encountered:
There are a lot of warnings in log
I am using MiScale2
Here is my log :
Log details (WARNING)
Logger: homeassistant.helpers.template
Source: helpers/template.py:2318
First occurred: 15:26:52 (18 occurrences)
Last logged: 15:26:52
Template variable warning: 'dict object' has no attribute 'protein' when rendering '{{ value_json['protein'] }}'
Template variable warning: 'dict object' has no attribute 'metabolic_age' when rendering '{{ value_json['metabolic_age'] }}'
Template variable warning: 'dict object' has no attribute 'body_type' when rendering '{{ value_json['body_type'] }}'
Template variable warning: 'dict object' has no attribute 'lean_body_mass' when rendering '{{ value_json['lean_body_mass'] }}'
Template variable warning: 'dict object' has no attribute 'impedance' when rendering '{{ value_json['impedance'] }}'
My configuration lines look like :
mqtt:
sensor:
- name: "Mesut Protein Oranı"
state_topic: "miscale/Mesut/weight"
value_template: "{{ value_json['protein'] }}"
icon: mdi:dumbbell
unit_of_measurement: "%"
json_attributes_topic: "miscale/Mesut/weight"
# Below lines only needed if long term statistics are required
state_class: "measurement"
The text was updated successfully, but these errors were encountered: