sbabcock23 / pytryfi

Apache License 2.0
31 stars 10 forks source link

Feature/connectedto #14

Open sbabcock23 opened 2 years ago

r-teller commented 2 years ago

Any estimate on when this will be merged into and updated in HACS?

sbabcock23 commented 2 years ago

Hi @r-teller ,

Can you take a look at the fiDevice class? This has the connected to details but doesn't quite have the friendly translation as what you proposed in the fiPet class. Since this data is already present there, my suggestion is to enhance the existing class.

r-teller commented 2 years ago

I think i see what you are referencing, that you had this open PR and since I hoping to key off connectionState in HA

sbabcock23 commented 2 years ago

The changes need to occur in the hass-tryfi repository. a new sensor is probably required that shows the connection state of the collar.