rodpayne / home-assistant Goto Github PK
View Code? Open in Web Editor NEWHome Assistant configuration
Home Assistant configuration
For the past two months I've been having no end of problems with my HA freezing and I'm exploring what might be causing this. Just wondered if you're running the latest and greatest HA with this script without issues?
I would like to have a list of entities to which I would like to apply a new state.
Currently, I am trying the following but it does not work.
action:
- service: python_script.set_state
data:
entity_id:
- sensor.edisio_2677633030_4cmd
- sensor.edisio_2677633030_6cmd
- sensor.edisio_60190726_1cmd
- sensor.edisio_60190726_3cmd
- sensor.edisio_60190726_5cmd
- sensor.edisio_60190726_7cmd
- sensor.edisio_60190726_8cmd
state: "OFF"
Should it work or the code of the python script does not take lists into account. I don't understand its logic so I can't check myself.
No longer appears to work for attributes in HA 0.103.6
Hi. I have a motion sensor from xiaomi and a gateway xiaomi 2, the firmware is original. My motion sensors are switched to service mode and they record movement every 5 seconds. I did as you wrote on the forum. The status of the motion sensor is reset after any period of time, even after 5 seconds. But if you walk in front of the motion sensor again, the detected status is not displayed, you need to wait 2 minutes and then it will show the detected status and after 5 seconds (I specified this time) it will reset the detected status to not detected. You can somehow get the home assistant to respond accurately to movement? There is a movement status detected after 5 seconds of no movement - status is not found, then create movement and status must be detected.
I have installed Home Assistant 2020.12.1
Read it here https://community.home-assistant.io/t/how-to-manually-set-state-value-of-sensor/43975/2
I inserted your code into it
Created automation
alias: DD in the corridor deactivating the status
description: We check the operation of the creak to deactivate the motion sensor
trigger:
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.