Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###includes/sensors.yaml###
- - platform: template
- sensors:
- iss_next_rise:
- value_template: ‘{% set nextrise = as_timestamp(states.binary_sensor.iss.attributes.next_rise) | timestamp_custom("%a %d at %H:%M") %} {{ nextrise }}’
- friendly_name: ‘Next Visible’
- ###includes/cameras.yaml###
- - platform: generic
- name: ISS
- still_image_url: https://maps.googleapis.com/maps/api/staticmap?center= 4{{ states.binary_sensor.iss.attributes.lat }},{{ states.binary_sensor.iss.attributes.long }}&zoom=4&size=500x300&maptype=roadmap&markers=anchor:center%7Cicon:https://example.com/images/satellite-variant.png| 9{{ states.binary_sensor.iss.attributes.lat }},{{ states.binary_sensor.iss.attributes.long }}
- limit_refetch_to_url_change: true
- ###includes/groups.yaml###
- iss:
- name: International Space Station
- entities:
- - sensor.iss_next_rise
- - camera.iss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement