smarthomejunkie / home-assistant-tutorials Goto Github PK
View Code? Open in Web Editor NEWExample code for Home Assistant Tutorials for the Smart Home Junkie channel on Youtube
Example code for Home Assistant Tutorials for the Smart Home Junkie channel on Youtube
Hi Ed,
Great job, Really love what you made.
I'm quite new to HASS, so I might be mistaken.
But I think there is a small mistake in the YAML for the dashboard.
The name of the 2nd automation should be:"Sprinkler: Check if Garden Should be Watered"
not "sprinkler_water_the_garden" (that's the script yo created).
All the best.
Hello,
At first i want to thank you for all the great instruction video's you make, they where really helpfull for me!
Now i want to install this trash collection integration, but when i copied and pasted all the yaml text, i got an error message:
The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: while scanning for the next token found character '%' that cannot start any token in "/config/integrations/../entities/templates/afvalwijzer.yaml", line 4, column 6
I don't know what the problem is.
As you see, i use packages, so i made a new yaml file with the template sensor in the templates folder. I added the yaml file with the integration sensor into the integrations folder, i added the customize code in the customize.yaml file and the icons in the www/afvalwijzer folder.
Is there any change that the pickup for plastic (PBD) will be added? By "ophaaldagen" i managed to add the icon with the date. But for today and tomorrow it is more difficult then i thought.
Hello,
Since the update 2022.10 i get an error:
The entity defination format under tamplate: differs from the platform configuration format.
I think it's the old format used in the template sensor. But i don't know how to fix it into the new.
Can you please help me out?
Thanks in advance!
Hi Sir, I found an error when copying the code in configuration.yaml
error:
bad indentation of a mapping entry at line 34, column 3:
- platform: template
^
Hi there,
Just to let you know, on your blog post about the EP1, the embedded YouTube video seems to be showing an error: βVideo unavailable. Playback on other websites has been disabled by the video owner.β
PS I had tried to send this using the Contact Us form on your website, but it kept getting rejected. π€·π»ββοΈ
Is there a reason why PMD is missing in the code?
I have used you code for building the irrigation system. In your automation there is only one "switch". Tried adding more switches to that code, having the same
- delay: minutes: | {{ states("input_number.sprinkler_watering_duration") | int }}
part repeated in between the devices to switch. Since they need to start and stop one after an other.
Not working, getting some error complaining about the sequence. So how to fit in additional switches (in my case some magnetic valves).
Instead of
| int) / 10) | round(0) * 10
you can use
| int // 10
Hi,
I'm using the sprinkler project for weeks now and so far it really works well and I'm loving it! Thank you for your work!
Since the last update of HA to 2022.7.0 the below error appears and the sensor is unavailable though. Any idea why this happens?
Cheers
Marco
Logger: homeassistant.helpers.template
Source: helpers/template.py:1926
First occurred: 7. Juli 2022, 10:03:55 (1367 occurrences)
Last logged: 08:49:20
Template variable error: None has no element 0 when rendering '{%- set totalprecipitation = 0 | float(0) -%} {%- set ns = namespace() -%} {%- set ns.totalprecipitation = 0 -%} {%- for daypart in range(0, 7) -%} {%- set precipitation = state_attr('weather.openweathermap', 'forecast')[daypart].precipitation -%} {%- set precipitation_probability = state_attr('weather.openweathermap', 'forecast')[daypart].precipitation_probability / 100 %} {% if precipitation_probability > 0 -%} {%- set precipitation = precipitation * precipitation_probability -%} {%- endif -%} {%- set ns.totalprecipitation = ns.totalprecipitation + precipitation -%} {%- endfor %} {{ ns.totalprecipitation | float(0) | round(2) }}'
hi, your chanel is great! thx, can u pls make a video that explains how to make a simple time automation. example: I want lights X to turn on Sunday + monday at 22:00 and turn off 23:00, please...
Hey there,
I'm currently scratching my head a bit looking at the "Check if Garden should be Watered" automation.
Is my understanding correct, that not watering will be started if the temperature is below 15.1 degrees? Looking at the last part of the automation, the helpers are reset if they haven't been watered between 3 and 4 days and the temperature was not above 15.1 degrees.
Wouldn't it make sense to enhance it and start the watering again after 7 days or so?
I'm using your automations in node red btw, so thanks for posting your configuration. Really provided a good starting point for me.
Sensor code for low batteries
I don't mind paying for something but the example that you send does not work...
The error I get is:
Missing Property Platform
I'm not a Home Assistant expert so any help would be appreciated...
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.