# Automatisation volet tv

**URL:** <https://forum.hacf.fr/t/automatisation-volet-tv/19645>\
**Category:** Entraide Home Assistant\
**Tags:** automatisation-automation, aide\
**Created:** [Janvier 14, 2023, 5:25 UTC](https://forum.hacf.fr/t/automatisation-volet-tv/19645 "2023-01-14T17:25:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![voyagers21](https://forum.hacf.fr/user_avatar/forum.hacf.fr/voyagers21/32/23254_2.png) [@voyagers21](https://forum.hacf.fr/u/voyagers21)\
**Post date:** [Janvier 14, 2023, 5:25 UTC](https://forum.hacf.fr/t/automatisation-volet-tv/19645/1 "2023-01-14T17:25:24Z")

</div>

Bonjour, je voudrais que lors que j’alume ma tv entre 9h et 19h mon volet salon ce ferme a 50%.

si le soleil est coucher il faudrait egalement qu’il active une scene(lumiere).

si le volet est deja baissé a plus de 50% il ne doit pas changer la position.

j’arrive bien a faire la premiere partit mais apres ca coince quelqu’un pourait me donner un coup de main svp

alias: Volet TV  
description: «&nbsp;&nbsp;»  
trigger:

- platform: device  
type: turned\_on  
device\_id: 547ec2201f600ee64e2c7fe30eca9d75  
entity\_id: remote.sony\_xr\_65a80j  
domain: remote  
condition: []  
action:
- if:
  - condition: time  
after: «&nbsp;09:00:00&nbsp;»  
before: «&nbsp;19:00:00&nbsp;»  
weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
    - sat
    - sun  
then:

  - device\_id: eef5b9f5b09b55e681526f8aeb452023  
domain: cover  
entity\_id: cover.volet\_salon  
type: set\_position  
position: 50
  - if:
    - condition: sun  
after: sunset  
after\_offset: «&nbsp;20&nbsp;»  
then:
    - service: scene.turn\_on  
target:  
entity\_id: scene.salon\_cinema  
metadata: {}  
mode: single
