Im having an issue with getting a binary sensor for an attribute from life360 to work.
This is what I currently have:
- platform: template
sensors:
brodie_iphone_charge_state:
friendly_name: Brodie's iPhone Charge State
value_template: >
{{ is_state('device_tracker.life360_brodie.attributes', 'battery_charging', 'true')}}
Have also tried:
- platform: template
sensors:
brodie_iphone_charge_state:
friendly_name: Brodie's iPhone Charge State
value_template: >
{{ is_state_attr('device_tracker.life360_brodie', 'battery_charging', 'true')}}
Any help would be greatly appreciated