Comments (3)
At the moment I don't see a feasible way to accomplished this. The switches are identified in HA by the node id from NR. So each switch in HA is a one to one reference to a node in NR.
You could expose each event node to HA and then make an input boolean in HA that when changed it sets all the event node switches to the same state as itself with a single call service. That's not much different from what you're doing now though.
from hass-node-red.
@xppx99 Just happened to be browsing and saw this -- I use a group
in my Home Assistant config to give me single control of multiple NodeRED "Switches".
from hass-node-red.
Hello guys! So actually there is a way to do what I was asking about with the functionality already provided by this integration.
The way is this: Exposing one of the switchs to act as "master switch", then replacing any "events: state" nodes by the improved "trigger: state" nodes, and then add a condition so that the msg are only propagated if the previously creater "master switch" is ON.
This way, everytime I deactivate the "master switch", every other trigger is also blocked, by the condition added.
This as been working great!
from hass-node-red.
Related Issues (20)
- Entities not available (2023.11.0 and NR 15.0) HOT 8
- Switches stopped working in node red HOT 6
- Write File node not writing since update HOT 2
- NoConnectionError with the sensor node HOT 6
- Do you have in plan to upgrade this version of node red or i wil uninstall and work with HASS Automation? HOT 1
- Component might not initialize correctly with MQTT due to order HOT 5
- Fix release please so it doesn't format manifest.json HOT 1
- Add zip file of component to release
- After updating to v3.1.3 error reemerged: object message: "ValidationError: "target.entity_id" must be an array" HOT 4
- How the heck do I get NR:HA devices and related NR:HA sensors friendly_name and entity_id's the way I want in HA?? HOT 3
- Node Red sensor entities not available anymore after update to HA core 2024.2.0
- Sudden change of entity name HOT 4
- Node RED UI crashing with 502 Bad Gateway HOT 1
- Error when trying to install via HACS
- Updating state for nodered.sensor takes to long HOT 1
- Detected that custom integration 'nodered' accesses hass.components.webhook. This is deprecated and will stop working in Home Assistant 2024.9 HOT 1
- Sentence trigger function signature has changed in HA 2024.4
- Integration doen't load in home-assistant dev release HOT 1
- Cannot set the state of a sensor to unavailable or unknown HOT 1
- sensor entities name don't update some times, and some time the go back to the original name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-node-red.