-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre-PR - Issues/Question for Switch().withState #7740
Comments
I think binary is correct here, a Switch() is just a fancy binary expose anyway with a hardcoded label of state. I think the proper thing to do is update the way they are converted into the homeassistant config z2m generates. (lib/extenstions/homeassistant.js). We should probably expose |
zigbee2mqtt/lib/extension/homeassistant.js Lines 332 to 354 in 9bd4693
I think this needs to be updates to something like (not tested): } else if (expose.type === 'binary') {
const lookup = {
occupancy: {device_class: 'motion'},
battery_low: {device_class: 'battery'},
water_leak: {device_class: 'moisture'},
vibration: {device_class: 'vibration'},
contact: {device_class: 'door'},
smoke: {device_class: 'smoke'},
gas: {device_class: 'gas'},
carbon_monoxide: {device_class: 'safety'},
presence: {device_class: 'presence'},
};
if (expose.access & 0b010) { // FIXME: need to check if the access is something settable, then we become a switch
discoveryEntry = {
type: 'switch',
object_id: expose.endpoint ? `switch_${expose.name}_${expose.endpoint}` : `switch_${expose.name}`,
discovery_payload: { /// FIXME: not sure this payload is correct
value_template: `{{ value_json.${expose.property} }}`,
payload_on: expose.value_on,
payload_off: expose.value_off,
command_topic: true,
command_topic_prefix: expose.endpoint ? expose.endpoint : undefined,
...(lookup[expose.name] || {}),
},
};
} else {
discoveryEntry = {
type: 'binary_sensor',
object_id: expose.endpoint ? `${expose.name}_${expose.endpoint}` : `${expose.name}`,
discovery_payload: {
value_template: `{{ value_json.${expose.property} }}`,
payload_on: expose.value_on,
payload_off: expose.value_off,
...(lookup[expose.name] || {}),
},
};
} Notice the two FIXME:
|
@sjorge Thanks for the quick feedback. I see what you mean about Switch vs Binary, but would you be kind to explain the choice of using a Switch in the case of the below? Just trying to understand the decision making between this and the Danfoss/Hive.
Also could you share some light on:
If they do, how is that not confusing as hell, because surely there is more than 1 of those entities present for 1 device, so multiple state properties? :) Back to the Binary, not sure if The other option is to check the actual property, like it is done here, using expose.property instead, and doing a manual check for certain properties. But then again, the same name might be used for other devices, that might not have SET access, and making a new, bigger issue. Rob |
class Switch extends Base {
constructor() {
super();
this.type = 'switch';
this.features = [];
}
withState(property, toggle, description, access=a.ALL, value_on='ON', value_off='OFF') {
assert(!this.endpoint, 'Cannot add feature after adding endpoint');
const feature = new Binary('state', access, value_on, value_off).withProperty(property).withDescription(description);
if (toggle) {
feature.withValueToggle('TOGGLE');
}
this.features.push(feature);
return this;
}
} A switch is just a 'wrapper' around a binary expose item. Usually they perform one function, turn on or off the flow of water (valve with a tap), turn on or off the flow of power to a set of lights (light switch). Binary's are used for things describe state or part of a larger system. Example a contact sensor is either closed or open, a TRV might have a 'child lock' that is engaged or not.
Yes, and it is confusing as hell. I actually fixed keypad_lockout already in Koenkk/zigbee-herdsman-converters#2373 by switching it from Lock() to a Binary() because it was confusing having multiple 'state' items. I believe the ones you mentioned above should indeed all be For zigbee2mqtt a Binary can be both readonly or writable, which to me makes sense. |
@sjorge And that is exactly why as asked because by looking at the code, my deduction was that one TRV can have 5 "state" properties as switches.... and I didn't want to believe it :) Thanks for clarifying. PS: this is a can of worms for sure .... |
Lets look at the danfoss
So yes, that would be 5 switchs for homeassistant and 4 binary_sensors and a few things I have no idea about. Some things i just noticed:
|
Oh, that makes more sense as in you tell the TRV there is heat available not the TRV telling something it has heat available. |
The hass config that z2m generates is based on the expose information, so to remove say the orientation you need to remove the expose field. That also means it disappears from the frontend. I think the documentation now also gets partially generated from the expose information though, so if you remove the expose for these we probably need to manually document those. I do think it makes sense to not expose those at all, probably the same for Aside from battery and the basic climate expose I think only these really make sense to have:
As those seem like you'd want to potentially key automations of heat_required and window_open_internal and might want to set window_open_external in some automation and keypad_lockout manually. |
I agree with you, but my testing didn't show a change in the trv behaviour. So I don't know what the pid does internally when you turn heat available off. Realistically, it doesnt matter. A different thermostat will control the central heating from some sort of scheduler, say node red. Whoever set the schedule or behaviour will be aware of it and deal with the trvs too. But i don't mind setting heat available as a switch too. Personally I won't use it on the basis of not understanding the mechanics behind it. Still, i have no idea how to approach the ha entity to be a switch, i understand how, I don't know if we can read the access of the attribute at that point. |
They should all be binary exposed with the proper access set (which is already the case I think) Then just need to update lib/extention/homeassistant.js as mentioned here: #7740 (comment) I think the code I linked is a pretty good starting point, it might even work but I don't have HA setup so can't test. |
Sorry just now seen the second reply. I chose to expose them all to the frontend to give all the flexibily of the device. If a person clicks the wrong buttons.... Sorry but you can't fix stupid. However i agree they don't need to be changed to switches in ha. Only available via frontend and mqtt. |
That's were part of the complexity lies, the expose information describes the device and it's properties e.g. binary state for x, binary state for y, a mode with values X Y or Z and if they are readable, writable, ... this information is then turned into something homeassistant can used by lib/extention/homeassistant.js. As you pointed out originally, using 'Switch()' as a short hand for 'Binary()' that is writable is incorrect as it hardcode a bunch of stuff like the label being state confusing the frontend for example and other things consuming the expose info. (Also the linked PR about keypad_lockout a few comments ago, where the same conclusion was reached that keypad_lockout was a writable binary instead of a switch) This reason some of those exposes used Switch() and not Binary() is probably because lib/extention/homeassistant.js doesn't understand the concept that a binary can be writable (and needs to translated differently for ha). So there are 2 'issues' that need addressing I guess
This does mean that everything will be exported to ha as a binary_sensor or a switch depending on if it is writable or not, but I guess same as the frontend, the user can 'disable' the device's entity (at least according to the ha docs I am reading) I guess this might count as a 3rd issue: |
This already exists, that is what the access property is for, it's a bit value If the
Not sure it is correct, bitwise anding/oring always confuses me -_- |
Yep, noted this info since you first mentioned it. This is the approach I will try, just need to get everything setup with a test HA. Will keep you updated. If I get to something that works, I will submit a PR and link it. Rob |
I am honestly unable to make any changes while part of HA addon, in order to work this out. While in HA addon you end up with pre build dockers, if you make changes to files and restart the addon your changes are lost. I have no idea how to approach this to test. If either of you can point me in the right directions that would be appreciated, otherwise, I am unsure how to work this out in a way that is not coding blindly and hoping for the best. @sjorge @Koenkk Rob |
Note: Just found this which is exactly what i need Tomorrow is another day :) |
@sjorge Using the code you have suggested I started by dumping some bits, and they all behave as expected.
As you can see, some of the attributes are logging "has set", and that is as expected. Onto the next phase - Home Assistant The entities got created correctly as switches Now onto the not so nice part, changing them from home assistant triggers the action as expected but z2m is throwing an error.
While doing it from the frontend:
Seems like there is something else to look at. It also makes me wonder how if the z2m "switch" is throwing the same error when toggled from HA, or maybe that was already dealt with. I now need to leave the house for the day but I am hoping to resume this later on this evening / tomorrow. Feel free to have a look if you please while I am out of action. PS: I am really surprised that no one ever questioned the Binary entities in HA, because obviously this impacts all devices, and surely there are some devices implemented in z2m that support toggling in Frontend but not in HA. But there is a start for everything I guess. Speak soon, |
Looks like it’s sending the string ‘True’ instead of a Boolean value true. I’m guessing something is wrong in the payload_on and payload_off we send to ha in the discovery portion. |
I am out but just wanted to reply quick. The payload is incomplete. Shouldn't it include the whole thing rather than just the value? The same applies to lock1 for keypad lock which is a string anyway. But the attribute is missing too. |
Isn’t that but handled by the value_template above? (Again not a HA user or expert)
~ sjorge
… On 10 Jun 2021, at 14:20, Robert Alexa ***@***.***> wrote:
I am out but just wanted to reply quick.
The payload is incomplete. Shouldn't it include the whole thing rather than just the value?
{"window_open_external":true}
The same applies to lock1 for keypad lock which is a string anyway. But the attribute is missing too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hmmm based on the z2m logs, it is indeed not sending the property name and just a bare True/False, so you’re probably right. value_template is probably only used for extracting the value |
No idea. But if what you say is right then keypad unlock should work. Cause the value is string lock1. Yet it throws the same error. I will continue digging when i get back home. |
I quickly scanned over the ha discovery spec, I think we're missing: command_topic: true,
command_topic_prefix: expose.endpoint ? expose.endpoint : undefined, value_template tells HA which item to pull out of the json payload |
The thing is, that is exactly what i thought, and i have included those lines. You too included them in you code sample. I didn't have time to dumb them and test. But i should be able to have a look in a couple of hours |
@sjorge
For the sake of the length, I have edited the comment and not included all the attributes, but you have to believe me None of them have an endpoint defined. But also looking at the code further, in z-h-c/lib/exposes.js Seems like there is a method .withEndpoint, which I am assuming should be passed to provide that endpoint. Searching for it in the devices folder it seems that only e.switch() makes use of it so far. I am unsure now if I am in uncharted territory or just approaching this wrong at this point.... @Koenkk Could you please have a look at the last few comments, and tell me if I am on the wrong track or not. Thanks |
I think it undefined when it should use the default endpoint? Which is most of the time?
~ sjorge
… On 10 Jun 2021, at 22:54, Robert Alexa ***@***.***> wrote:
@sjorge
I guess this answers it
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: presence
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: smoke
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: power_alarm_active
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: power_alarm
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: moving
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: calibration
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: motor_reversal
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: calibration
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: motor_reversal
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: humidity_alarm
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: temperature_alarm
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: alarm
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:19: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:19: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:19: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: gas
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: carbon_monoxide
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: led_indication
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: led_indication
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: calibrate_valve
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: smoke
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: presence
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: presence
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: moving
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: moving
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: gas
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: calibration
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: motor_reversal
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: alarm
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: vibration
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: capabilities_forward_phase_control
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: capabilities_reverse_phase_control
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: capabilities_reactance_discriminator
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: capabilities_configurable_curve
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: capabilities_overload_detection
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: status_forward_phase_control
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: status_reverse_phase_control
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: status_overload
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: status_capacitive_load
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: status_inductive_load
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: window_open
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: window_open_force
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: keypad_lockout
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: smoke
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: presence
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: occupancy
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: contact
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: water_leak
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: consumer_connected
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: led_disabled_night
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: auto_off
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: smoke
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: gas
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: tamper
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: interlock
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: battery_low
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: state
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: reverse
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: state
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: reverse
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: state
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: reverse
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: power_outage_memory
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: standby_enabled
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: lcd_auto_brightness_enabled
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
Zigbee2MQTT:debug 2021-06-10 21:44:20: -------HA--------
Zigbee2MQTT:debug 2021-06-10 21:44:20: name: screen_saver_enabled
Zigbee2MQTT:debug 2021-06-10 21:44:20: endpoint: undefined
None of them have an endpoint defined.
But also looking at the code further, in z-h-c/lib/exposes.js
Seems like there is a method .withEndpoint, which I am assuming should be passed to provide that endpoint. Searching for it in the devices folder it seems that only e.switch() makes use of it so far.
I am unsure now if I am in uncharted territory or just approaching this wrong at this point....
@Koenkk Could you please have a loo
|
I think that endpoint as-is in homeassistant is only populated if you expose the attribute .withEndpoint in your device file (hive.js) But yet again, in our case, the endpoint would be "hvacThermostat" (unless i understand it wrong) which needs to be passed the attribute in json format. So... that still wouldn't work anyway? PS: I am now incredibly close to saying "f*** it" and just handle it in mqtt instead of via HA entity, but I feel like is the lazy approach. |
Here is a device were non default endpoint should be used: They are also exposed like this: You'd change those using To control either line 1 or line 2. If you have the single switch version of that: There is no endpoint provided to the expose because you set it using So I think it's OK for them to be undefined. Edit: so for the Hive/Danfoss I would expect |
I do not understand what message you are trying to convey with your above message, I have seen that code too. Command_topic_prefix will be added to the front, it will be postfix that I need. You can send to topic zigbee2mqtt/0x842e14fffe2ad08a/set/window_open_external with just the value. The issues with getting the postfix part attached. I might stop for the night before my eyes fall out of my skull |
It would be property rather than endpoint that would be needed i guess
|
After re-reading https://www.home-assistant.io/integrations/switch.mqtt/ command_topic: "zigbee2mqtt/name/set" but... why is it only ever set to true? |
Yep, postfix fixes the endpoint issue. Now only final hurdle. The values are actually True and False as strings.... |
Who is set to true? |
command_topic in homeassistant.js seems to be set to But seems you fixed the topic bit by setting postfix, so it's now probably just the payload_on/off t hat is encoded in a way ha doesn't like. |
LE: as in yes, it is the topic, but it is used as a flag at that point. |
2 entities as an example, value_on and value_off are correct, all looks good. When HA sends commands for keypad - lock1 and unlock it works fine. When HA sends commands for window external - the values are False and True, as strings, which then don't work in the zigbee side of things. |
I don’t think so, as mqtt doesn’t have the concept of a Boolean it’s just a string.
I think it might need a check we’re we check for the type, if string pass it as-is, if Boolean pass it as lower case true or lower case false (probably with double quotes around it)
~ sjorge
… On 11 Jun 2021, at 00:05, Robert Alexa ***@***.***> wrote:
Mqtt documentation states the following:
So having values as boolean in z2m will not play ball with that, cause they will be converted to strings, but when they come back as strings things are not good anymore.
Unless I misunderstand, but I don't think I do.
Would that mean that the values might need to not be booleans in z2m?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This is literally what I was thinking about. But where should we check this? Do you mean in toZigbee specific for each device? This is what I was thinking, but will this be the most appropriate solution? Plus what about all the other devices that might be behaving similarly? Because there will be a silent failure. In my case, HA sends "True", this gets set on the device. The device does not reject the value, the toggle in Frontend changes to false (but basically because it isn't either true or false (bool)). HA will show as switch is on, Frontend will show it as off, and the device will be set to an invalid value... Thanks |
No, inside homeassistant.js I’m on my phone so this is hard to write: payload_on: (typeof expose.value_on != “boolean”) ? expose.value_on : (expose.value_on ? “true” : “false”); not sure on the typeof, it might be “bool” instead |
Given that there are 2 payloads this is what we need.
Doing this breaks the switches in HA, they are always off now..... Setting the toggle to on will correctly send the payload and z2m updates properly, but the HA toggle goes back to off.
I will probably sleep on this as it is super late already... but damn it is so annoying |
hey @sjorge I have figured it out. This is the current state of the code: Here is how I judged this: I have tested both boolean and string values (definition in z2m) and both z2m and ha works correctly and follow each other with the above code. I am wondering if for the sake of saving confusion later I should set state_on/off to be the same as payload_on/off, as in t verify boolean. Purely so the next person looking at it doesn't think it is retarded. Or maybe I will just add a comment to the code pointing to this issue, and this will clarify for future use. Do you have any remarks before I push this as a PR? PS: thank you kindly for your input throughout this, couldn't have done it without bouncing ideas with you. |
Do we still need the typeof stuff with state_on and state_off ? If we can just have both state_on / payload_on just set to expose.value_on it would remove most confusion I think? |
Already tried, and no, the value passed to z2m is (string) "True" which fails silently. It is invalid but the device will not reject with error message. LE: scrap the rest of the message, I am an idiot. In short, we still need to check for bool in order to have valid and correctly translated data |
Just a comment is probably fine then. |
I have submitted a PR. As a result, I will close this issue and we can continue the conversation there if we need to. |
@sjorge @Koenkk
Hey guys,
I am trying to put together a new PR for the Danfoss and Hive (again).
Looking randomly through issues I have seen some screenshots from HA for entities belonging to a tuya thermostats. Those entities were actual switches in HA (you could toggle them) compared to the entities I get for the Hive thermostat which are just plain text.
I have checked the code and found the "switch" vs "binary" that I was using. So far so good.
Here is my code, above is the new switch and below is the old binary:
Here is what I get in the Frontend of z2m:
Now do you notice how the exposes entity has the name of "state"? That is not right.
So I looked further in z-h-c/lib/exposes.js
The switch, when passed the withState method will create an push a feature form the Binary class, with a HARDCODED name of "state".
Surely the hardcoded "state" should be replaced with
property
, thus passing the chosen name.Now I feel that is the right approach, but I have doubts about all the other Switches that currently exist in code, for example (to name a few)
Does that mean that all these entities currently show up as "state" in the Frontend of z2m?
My approach would not harm anything as far as I can tell, because all .withState will have
property
defined, and then the new binary will be using it, but I just want some feedback before I write code and do a PR.Looking forward to hearing from you,
Rob
The text was updated successfully, but these errors were encountered: