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

Device: Tuya - Contact_Sensor_ikfjwqdbpnh154b9 #1526

Closed
igorsantos07 opened this issue Apr 15, 2024 · 4 comments
Closed

Device: Tuya - Contact_Sensor_ikfjwqdbpnh154b9 #1526

igorsantos07 opened this issue Apr 15, 2024 · 4 comments
Labels
new-device A new device automated PR

Comments

@igorsantos07
Copy link
Contributor

Manufacturer

Tuya

Model

Contact Sensor (ikfjwqdbpnh154b9)

Battery Type

AAA

Battery Quantity

2

@igorsantos07 igorsantos07 added the new-device A new device automated PR label Apr 15, 2024
@github-actions github-actions bot changed the title [Device]: Device: Tuya - Contact_Sensor_ikfjwqdbpnh154b9 Apr 15, 2024
Copy link
Contributor

Thanks for the contribution. We're auto-closing this issue. If it's a new device, a pull request will be created that will be reviewed and merged.

@igorsantos07
Copy link
Contributor Author

@andrew-codechimp, I tried adding this device manually via the integration, but I was unable to select it from the dropdown. Should I file it as a bug?

I should note that this device is one of those odd ones with high/middle/low states, instead of numeric values. Should this add any special options to the battery DB?

@andrew-codechimp
Copy link
Owner

The drop down only lists devices that have a "proper" battery indicator so it won't show there.

You can add this to your configuration.yaml to show all devices but it will be a long list

battery_notes:
  show_all_devices: true

I've added it to the library, no need to do anything special though if you want the low notification you'll want a template as described here.

@igorsantos07
Copy link
Contributor Author

Cool, thanks man! It looks like I forgot how to use a sidebar menu on the docs 🤡 Didn't notice the config section there, I recalled there was something that would help on that problem, but wasn't sure which.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-device A new device automated PR
Projects
None yet
Development

No branches or pull requests

2 participants