Skip to content
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

Window and Door sensor shows status "Open" when closed, and status "Closed" when opened. #300

Closed
donald-ong opened this issue Dec 9, 2021 · 6 comments
Labels
bug Something isn't working device: magnet duplicate This issue or pull request already exists

Comments

@donald-ong
Copy link

donald-ong commented Dec 9, 2021

Trigger type show "event.close", but the binary sensor status of show as "Open". The door is closed. Totally confused the logic I guess.

model: lumi.sensor_magnet.aq2
lan_ip: ''
mac_address: *
entity_class: LumiBinarySensorEntity
home_room: 美牛妞帅新男 Kitchen
miot_type: urn:miot-spec-v2:device:magnet-sensor:0000A016:lumi-aq2:1
state_property: magnet_sensor.contact_state
magnet_sensor.contact_state: false
state_updater: cloud
trigger_type: event.close
trigger_time: 1638811715
trigger_at: '2021-12-07 01:28:35'
friendly_name: K - Freezer Door
supported_features: 0
device_class: door

@al-one al-one added bug Something isn't working device: magnet duplicate This issue or pull request already exists labels Dec 10, 2021
@cihantok
Copy link

Same problem with lumi.sensor_magnet.v2

@al-one
Copy link
Owner

al-one commented Dec 10, 2021

Fixed in 5cdb6fb , please upgrade to master branch and try again.

@cihantok
Copy link

My problem is solved.Thank you.

@donald-ong
Copy link
Author

Thank you.

@athlon614
Copy link

0.4.14 似乎又出現這狀況?

@cihantok
Copy link

Hi im using 0.4.14 , no problem on this version

@al-one al-one closed this as completed Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device: magnet duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants