Add setting to enable if entity is to be checked on startup#218
Conversation
* Set default False
|
@steinmn I updated according to your comments, and I think this looks better now. There is one remaining item I'd like to add. There is a guideline in HA that errors and warnings should not be produced when it's expected, so I need to change it to not log as warning or error when it an entity we know can go away. |
steinmn
left a comment
There was a problem hiding this comment.
LGTM
Should we add something in the readme on this? Or is it more an instruction we include with the beta?
|
@steinmn Now this is ready. It makes a info note in the logs when an attribute becomes available and when it becomes unavailable according to https://developers.home-assistant.io/docs/core/integration-quality-scale/rules/log-when-unavailable |
It turns out that some Zaptec attributes are not always present from Zaptec. An example is "total_charge_power_session". The recommendation from HA is to not add entities that aren't available, but we have to circumvent that in this case. Instead a setting have been added so it can be later turned on if wanted.
Fixes #217