Giter Club home page Giter Club logo

homeassistant-config's People

Contributors

shlomki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

homeassistant-config's Issues

.yaml

Hi, great work on this. Does this code need breaking down into relevant folders or can I paste directly into configuration.yaml? Perhaps even into its own file with !include filename.yaml

notify_when_entities_unavailable.yaml

First, thanks for your job !

If you want this automation to work with 'Nmap tracker' integration, add 'not_home' line 13 :

state: "{{ expand('group.monitored_entities') | selectattr('state', 'in', ['not_home', 'unavailable', 'unknown', 'none']) | join(', ', attribute='attributes.friendly_name') | truncate(252) or 'Online' }}"

It can be usefull to track easily esphome device for example.

shelly_3em.yaml

בוקר טוב, ניסיתי להגדיר אצלי כמו שהסברת כאן וחסר לי נתונים , חשבון קודם לא מתעדכן לי,תשלום עתידי גם לא,
אשמח אם תוכל לעזור לי.
sensors:
power_total:
friendly_name: "Total Power"
unit_of_measurement: 'watt'
value_template: "{{ (states('sensor.shelly_em_50a_channel_1_power') | float) | round(2)}}"
energy_total:
friendly_name: "Total Energy"
unit_of_measurement: 'kWh'
value_template: "{{ states('sensor.shelly_em_50a_channel_1_energy') | float}}"
energy_total_today:
friendly_name: "Total Energy Today"
value_template: "{{ (states('sensor.energy_total') | float) - (states('input_text.energy_total_yesterday') | float) }}"
unit_of_measurement: "kWh"
power_cost_per_hour:
friendly_name: "Cost per Hour"
unit_of_measurement: 'NIS'
value_template: "{{ (states('sensor.power_total') | float / 1000 * states('input_text.power_nis_per_kwh') | float)|round(2) }}"
power_nis_per_kwh:
friendly_name: Power NIS per kWh (incl. VAT)
value_template: "{{ states('input_text.power_nis_per_kwh') | float }}"
unit_of_measurement: "NIS"
energy_total_today_cost:
friendly_name: "Today Cost"
value_template: "{{ ((states('sensor.energy_total_today') | float) * (states('input_text.power_nis_per_kwh') | float))|round(1) }}"
unit_of_measurement: "NIS"
energy_total_next_bill_cost:
friendly_name: "Next Bill Cost"
value_template: "{{ ((states('sensor.energy_total_next_bill') | float) * (states('input_text.power_nis_per_kwh') | float) + (states('input_text.power_monthly_additional_cost') | int ))|round(1)}}"
unit_of_measurement: "NIS"

notify_when_entities_unavailable.yaml

First of all, thank you very much for sharing your work with the rest of the users.

I am trying to create an automation to receive a notification when a device goes offline.
I would like to ask you if you have thought of creating a Blueprint of your code, which would be very much appreciated by the rest of the world.

Or if you could help me to create it I would also appreciate it.

Best regards.

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.