1 """Constants for the ViCare integration."""
10 Platform.BINARY_SENSOR,
16 Platform.WATER_HEATER,
19 UNSUPPORTED_DEVICES = [
23 "E3_FloorHeatingCircuitChannel",
24 "E3_FloorHeatingCircuitDistributorBox",
25 "E3_RoomControl_One_522",
28 DEVICE_LIST =
"device_list"
29 VICARE_NAME =
"ViCare"
31 CONF_CIRCUIT =
"circuit"
32 CONF_HEATING_TYPE =
"heating_type"
34 DEFAULT_CACHE_DURATION = 60
36 VICARE_PERCENT =
"percent"
38 VICARE_KW =
"kilowatt"
39 VICARE_WH =
"wattHour"
40 VICARE_KWH =
"kilowattHour"
41 VICARE_CUBIC_METER =
"cubicMeter"
45 """Possible options for heating type."""
56 DEFAULT_HEATING_TYPE = HeatingType.auto
58 HEATING_TYPE_TO_CREATOR_METHOD = {
59 HeatingType.auto:
"asAutoDetectDevice",
60 HeatingType.gas:
"asGazBoiler",
61 HeatingType.fuelcell:
"asFuelCell",
62 HeatingType.heatpump:
"asHeatPump",
63 HeatingType.oil:
"asOilBoiler",
64 HeatingType.pellets:
"asPelletsBoiler",
65 HeatingType.hybrid:
"asHybridDevice",