Add BSBLan Climate integration (#32375)
* Initial commit for BSBLan Climate component The most basic climate functions work. * Delete manifest 2.json wrongly added to commit * fix incorrect name current_hvac_mode * update coverage to exclude bsblan * sorted and add configflow * removed unused code, etc * fix hvac, preset mix up now it sets hvac mode to none and preset to eco * fix naming * removed commented code and cleaned code that isn't needed * Add test for the configflow * Update requirements fixing some issues in bsblan Lib * Update coverage file to include configflow bsblan * Fix hvac preset is not in hvac mode rewrote how to handle presets. * Add passkey option My device had a passkey so I needed to push this functionality to do testing * Update constants include passkey and added some more for device indentification * add passkey for configflow * Fix use discovery_info instead of user_input also added passkey * Fix name * Fix for discovery_info[CONF_PORT] is None * Fix get value CONF_PORT * Fix move translation to new location * Fix get the right info * Fix remove zeroconf and fix the code * Add init for mockConfigEntry * Fix removed zeroconfig and fix code * Fix changed ClimateDevice to ClimatEntity * Fix log error message * Removed debug code * Change name of device. * Remove check This is done in the configflow * Remove period from logging message * Update homeassistant/components/bsblan/strings.json Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Add passkey Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
1 parent
e2b622fb78
commit
cf30895460
15 files changed
+635
No files matched your search
@@ -0,0 +1,26 @@
|
||||
"""Constants for the BSB-Lan integration."""
|
||||
|
||||
DOMAIN = "bsblan"
|
||||
|
||||
DATA_BSBLAN_CLIENT = "bsblan_client"
|
||||
DATA_BSBLAN_TIMER = "bsblan_timer"
|
||||
DATA_BSBLAN_UPDATED = "bsblan_updated"
|
||||
|
||||
ATTR_IDENTIFIERS = "identifiers"
|
||||
ATTR_MODEL = "model"
|
||||
ATTR_MANUFACTURER = "manufacturer"
|
||||
|
||||
ATTR_TARGET_TEMPERATURE = "target_temperature"
|
||||
ATTR_INSIDE_TEMPERATURE = "inside_temperature"
|
||||
ATTR_OUTSIDE_TEMPERATURE = "outside_temperature"
|
||||
|
||||
ATTR_STATE_ON = "on"
|
||||
ATTR_STATE_OFF = "off"
|
||||
|
||||
CONF_DEVICE_IDENT = "device_identification"
|
||||
CONF_CONTROLLER_FAM = "controller_family"
|
||||
CONF_CONTROLLER_VARI = "controller_variant"
|
||||
|
||||
SENSOR_TYPE_TEMPERATURE = "temperature"
|
||||
|
||||
CONF_PASSKEY = "passkey"
|
||||
Reference in new issue
Block a user