Cyrill Raccaud 33a23ad1c6
Add diagnostic sensors for the active subscription of Cookidoo (#136485)
* add diagnostics for the active subcription

* fix mapping between api and ha states for subscription

* multiline lambda
2025-01-27 08:43:30 +01:00

10 lines
159 B
Python

"""Constants for the Cookidoo integration."""
DOMAIN = "cookidoo"
SUBSCRIPTION_MAP = {
"NONE": "free",
"TRIAL": "trial",
"REGULAR": "premium",
}