@profusse wrote:
Hello
I am desperate to succeed in extracting an attribute from the suez_water_client sensor.
The entity gives this:
I want to be able to graph day after day. So I tried to extract this_month_consumption but impossible.
I tried everything but nothing works.
- platform: template sensors: consomation_eau: friendly_name: "consomation_eau" value_template: "{{ state.attr('sensor.suez_water' , 'attribution' , 'this_month_consumption' ) }}"
If someone has an idea.
thank you
Posts: 5
Participants: 3