Coder Social home page Coder Social logo

Fonctionnement des ENUM about rtetempo HOT 3 CLOSED

stadros83 avatar stadros83 commented on September 27, 2024
Fonctionnement des ENUM

from rtetempo.

Comments (3)

hekmon avatar hekmon commented on September 27, 2024

Effectivement ce code YAML n'est pas facile à écrire...

platform: state
entity_id:
  - sensor.rte_tempo_prochaine_couleur_visuel
to: 🔴

Heureusement qu'il y a les enum ;)
image

C'est le déclencheur ou la condition de type État :
image

Est-ce que cela répond à votre question ?

from rtetempo.

stadros83 avatar stadros83 commented on September 27, 2024

Ok merci je n'avais tout simplement pas sélectionné la bonne entité :).
Plus qu'à tester ça.

from rtetempo.

hekmon avatar hekmon commented on September 27, 2024

J'ai fait exprès pour l'exemple de prendre les entités avec les emoji mais vous pouvez utiliser les entités textuelles pour les automatisations cela sera peut être plus simple pour la vision en YAML, celles visuelles sont surtout là pour les dashboard.

Mais les 2 fonctionnent pareil c'est comme vous préférez.

from rtetempo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.