@haydendonald/node-red-contrib-hass-stuff 1.1.2 → 1.1.3

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.
@@ -109,7 +109,7 @@ module.exports = function LightControlConfigNode(RED) {
109
109
  //Get what entities exist in the group and set our internal state
110
110
  connectionsConfigNode.getHASSEntityState(config.groupEntityId, (payload, data) => {
111
111
  groupEntities = data.data.attributes.entity_id;
112
- currentState = data.data.state;
112
+ currentState = data.data;
113
113
  entitiesOffDuringNight = config.entitiesOffAtNight.split(",");
114
114
  entitiesOnDuringNight = groupEntities.filter((entity) => !entitiesOffDuringNight.includes(entity));
115
115
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haydendonald/node-red-contrib-hass-stuff",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
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",