Giter Site home page Giter Site logo

romquenin / home-assistant-config-fr Goto Github PK

View Code? Open in Web Editor NEW
388.0 35.0 74.0 98.24 MB

🏠Configuration de Home Assistant en français. 👨🏻‍💻 N'hésitez pas à ⭐ mon repo et à copier les bonnes idées ! 🇨🇵

License: Apache License 2.0

Python 1.52% CSS 0.01% JavaScript 98.46%
home-assistant-config home-assistant smart-home home-automation control-lights climate-control weather-forecast weather-report air-quality sensor

home-assistant-config-fr's Issues

Ajouter un fichier my_enedis.yaml

Ca serait bien d'avoir un fichier my_enedis.yaml dans /sensor

https://github.com/saniho/apiEnedis#via-yaml


   ############################################################
   ##                                                        ##
   ##                       MY ENEDIS              ##
   ##                                                        ##
   ############################################################

- platform: myEnedis
  token: !secret myEnedis_token
  code: !secret myEnedis_pdl 
  hc_cout: 0
  hp_cout: 0
  heures_creuses: "[['00:30', '07:00'], ['10:00', '11:30']]"
  heuresCreusesON: false
  scan_interval: 3600

diagram

bonjour à toi!
ma remarque porte sur ton fichier diagram.svg
(il me donne une erreur à l'ouverture avec draw.io ...)
à l'ouverture de draw.io:
N'est pas un fichier de diagramme (error on line 71 at column 90: Specification mandates value for attribute data-pjax-transient)

Ce serait bien si tu pouvais verifier ce fichier diagram.svg qui me semble tronqué ?
sur disque j'ai : ls -l diagram.svg
-rwxr-xr-x ... 117198 juin 10 09:01 diagram.svg

merci par avance

Upcoming media card

Bonjour
Je serais intéressé, pour ajouter une carte sur les épisodes de mes series a venir.

Mais je trouve tres peux de tuto la dessus et pas souvent hyper clair.

Pourriez-vous m en dire d avantage sur ce que vous avez fait sur votre serveur

Secret

Serait-il possible d'ajouter le template du fichier secret.yaml ?

Ou est le template ‹ button_raspberry › et ‹ button_hassos ›

Je voudrais reprendre la même carte sur la Surveillance(du rpi4) et de hassos
Pour cela j’ai installé la « decluttering-card » et trouvé le code lovelace:

  • type: horizontal-stack
    cards:

  • template: button_raspberry
    type: « custom:decluttering-card »
    variables:

  • entity: « sensor.cpu_temp »

  • icon: « mdi:raspberry-pi »

  • name: RasPi 4

  • colorstyle: « [[[
    if (entity.state == ‹ OL ›) return ‹ lime ›;
    if (entity.state == ‹ OB ›) return ‹ yellow ›;
    if (entity.state == ‹ LB ›) return ‹ magenta ›;
    if (entity.state == ‹ OB LB ›) return ‹ red ›;
    if (entity.state == ‹ OL LB ›) return ‹ cyan ›;
    else return ‹ deepskyblue ›;
    ]]] »

  • tempfield: « [[[
    return ${Math.round(states['sensor.cpu_temp'].state)}°C
    ]]] »

  • cpufield: « [[[
    return CPU: ${states['sensor.processor_use'].state}%
    ]]] »

  • ramfield: « [[[
    return RAM: ${states['sensor.memory_use_percent'].state}%
    ]]] »

  • sdfield: « [[[
    return SSD: ${states['sensor.disk_use_percent'].state}%
    ]]] »

  • cpustyle: « [[[
    if (states[‹ sensor.processor_use ›].state < 40) return ‹ lime ›;
    if (states[‹ sensor.processor_use ›].state >= 60 && states[‹ sensor.processor_use ›].state < 80) return ‹ red ›;
    else return ‹ orange ›;
    ]]] »

  • ramstyle: « [[[
    if (states[‹ sensor.memory_use_percent ›].state < 40) return ‹ lime ›;
    if (states[‹ sensor.memory_use_percent ›].state >= 60 && states[‹ sensor.memory_use_percent ›].state < 80) return ‹ red ›;
    else return ‹ orange ›;
    ]]] »

  • sdstyle: « [[[
    if (states[‹ sensor.disk_use_percent ›].state < 40) return ‹ lime ›;
    if (states[‹ sensor.disk_use_percent ›].state >= 60 && states[‹ sensor.disk_use_percent ›].state < 80) return ‹ red ›;
    else return ‹ orange ›;
    ]]] »

  • type: custom:decluttering-card
    template: button_hassos

Le probléme est que je n’arrive pas à trouver le template ‹ button_raspberry › et ‹ button_hassos ›
Merci de vos réponses

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.