guice
(Philip Z)
1
Anybody have any useful Automatic templates? For example: viewing gas levels, geodecoding coordinates for relative address?
I just connected HA with Automatic; now, I’m looking for useful cards/templates I can use to decode said information and events provided by Automatic.
I do apologize if this has been asked before - searching on “Automatic” isn’t quite simple…
guice
(Philip Z)
2
Playing around has answered my own question:
- Geocoding can be done via the OpenStreetMaps API using the Places custom component.
- There’s a Map card that you can use to identify a specific entity to track on the map.
- Simple template for gas level.
Here are my configs for decoding and gas:
- platform: places
name: Jeep Wrangler
devicetracker_id: device_tracker.jeep_wrangler_unlimited
options: street_number, street, city
api_key: !secret email
- platform: template
sensors:
jku_gas_level:
friendly_name: "Jeep Gas Level"
unit_of_measurement: '%'
icon_template: 'mdi:fuel'
value_template: "{{ state_attr('device_tracker.jeep_wrangler_unlimited', 'fuel_level') }}"