home-assistant-vimar
home-assistant-vimar copied to clipboard
Regex for set entities as binary_sensor
Hi,
thanks for your great job !!!
i don't know as set the Regex number for my iR Sensor listed as a normal light switch currently in HA
i have this value
which number i have to set in RegEx for set entities switch as bynary_sensor ?
If i have a lot ot this ir sensor, can i set more number ?
@davideciarmiello would this work using the regex options?
Hi. Yes it work with regex.
Attach my config
the match is executed on friendly name. In my config i have checked “use naming as vimar”, that use object name as friendly name.
you can try: .*(Ir.Sensore|sensore ir).
Thanks!
@lupinve have you tried this? if its not working let us know.
Hi Andi,
I'm sorry for the late reply....
Thanks for your help !!!!
yes it's work fine but the vimar ir sensor can't change the state from off to on so i have to back to light mode
Il giorno dom 20 nov 2022 alle ore 02:56 Andi @.***> ha scritto:
@lupinve https://github.com/lupinve have you tried this? if its not working let us know.
— Reply to this email directly, view it on GitHub https://github.com/h4de5/home-assistant-vimar/issues/53#issuecomment-1321012356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYLXEZNBUTOGBZKLICZLGTWJGALDANCNFSM6AAAAAARL4YVPI . You are receiving this because you were mentioned.Message ID: @.***>