Skip to content

Add status to gateway device #537

@silverailscolo

Description

@silverailscolo

In order to refactor the Gateway status sensor in ramses_cc from direct gwy querying (not async) to async state, the Gateway Entity should expose a status (recent messages via the device = True) as a property.

Currently, the integration (client) tries to access gateway.engine.this_message and compare that message's timestamp to a cutoff datetime. This no longer works in 0.55.6

Copy pattern from battery_state

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions