aetjansen / homeassistant-config Goto Github PK
View Code? Open in Web Editor NEWHome Assistant configuration files and scripts
Home Assistant configuration files and scripts
Improves persistence, more flexibility
bathroom ventilation can now be on for hours trying to get indoor humidity below threshold (60%), drawing in air from outside. But if the absolute humidity ( grams/m3) is equal to or larger than the absolute humidity in the bathroom, it makes no sense to keep the ventilator on.
Energy package: the calculated values for daily energy usage, should be passed into the IFTTT trigger to be stored in a spreadsheet. Right now, the literal string of the input_number ends up in the spreadsheet as opposed to the value of the input_number.
Asked for help in the forums: https://community.home-assistant.io/t/one-state-used-in-two-automation-actions-but-different-behaviour-values/45418
Upon activating night_mode, some automations are disabled. But, they are currently not enabled again when night_mode is no longer active.
Behavior started after doing a foced auto-calibration and I cannot seem to figure out why or how to stop it, but very annoying...
in a service call, data: is used when no jinja is passed, and data_template when jinja is passed along for processing. Could also use data_template everywhere at (probably) a minimal performance loss, maybe a bit more startup time.
Using data: and passing along jinja code, will not work and cause the jinja code to be taken as literal strings
Makes debugging a lot easier I think :-)
Go through config and setup everything according to a naming convention. This improves readibility and allows for easier templating.
Additionally, the diy multisensors I have built should have a firmware upgrade to have a specific mqtt topic per sensor (as opposed to one mqtt message with all sensor data in the payload everytime).
With that, setup specific sensors by using mqtt subscriptions, for example:
sensor.livingroom_temperature
sensor.livingroom_humitidy
sensor.livingroom_lightlevel
sensor.livingroom_motion
etc
Make a group containing automations (and possibly switches and other things) that need to be disabled/off when night_mode is activated and on when night_mode is deactivated. That way, the condition check for night_mode state can be removed from many automations and adding something new is only a matter of adding it to the night_mode group.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.