@haydendonald/node-red-contrib-hass-stuff 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,6 +198,14 @@ module.exports = function LightControlConfigNode(RED) {
198
198
  connectionsConfigNode.sendHASSAction("light.turn_off", { entity_id: [config.groupEntityId] }, {
199
199
  transition: serviceData.transition || 1
200
200
  });
201
+ lastSentScene = "off";
202
+ //Send to the node output
203
+ self.sendMsg({
204
+ topic: "lightsOff",
205
+ payload: {
206
+ transitionSec: serviceData.transition || 1
207
+ }
208
+ });
201
209
  }
202
210
  }
203
211
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haydendonald/node-red-contrib-hass-stuff",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A collection of stuff I use on my Node Red + Home Assistant server. This could be of use for others, i don't know..",
5
5
  "devDependencies": {
6
6
  "@types/node": "^18.14.0",