Yes, here is it. 
- id: '1546263622138'
alias: Žaluzie (zatáhnout JV) - teplota/slunce/azimut
trigger:
platform: state
entity_id: sun.sun
condition:
- above: 25
below: 30
condition: numeric_state
entity_id: sensor.teplota_obyvak
- above: 0
below: 4
condition: numeric_state
entity_id: sensor.yr_symbol
- condition: template
value_template: "{% if trigger.from_state is not none %}\n {% set old_el = trigger.from_state.attributes.elevation\
\ %}\n{% else %}\n {% set old_el = 0 %}\n{% endif %} {% set el = state_attr('sun.sun',\
\ 'elevation')|float(0) %} {% set az = state_attr('sun.sun', 'azimuth')|float(360)\
\ %} {{ el > 5 and az < 235 and (el//5 - old_el//5)|abs > 0 }}\n"
action:
- data:
entity_id: cover.francouzke_okno_2
service: cover.close_cover
- data_template:
entity_id: cover.francouzke_okno_2
tilt_position: '{{ (states.sun.sun.attributes.elevation + 40)|int }}'
service: cover.set_cover_tilt_position
- data:
message: Nastavuji JV okna na základě teploty, slunce a azimutu
service: notify.domaci_asistent
- data:
entity_id: cover.navstevnicky_pokoj_2
service: cover.close_cover
- data_template:
entity_id: cover.navstevnicky_pokoj_2
tilt_position: '{{ (states.sun.sun.attributes.elevation + 40)|int }}'
service: cover.set_cover_tilt_position
- data:
entity_id: cover.mateo_2
service: cover.close_cover
- data_template:
entity_id: cover.mateo_2
tilt_position: '{{ (states.sun.sun.attributes.elevation + 40)|int }}'
service: cover.set_cover_tilt_position