fixes
This commit is contained in:
1 parent
1fbcf83b1b
commit
7b6f845edb
3 files changed
+11
-3
No files matched your search
@@ -1,4 +1,8 @@
|
|||||||
# hassio-bluetti-bt
|
# hassio-bluetti-bt
|
||||||
|
[](https://github.com/hacs/integration)
|
||||||
|
[](https://github.com/Patrick762/hassio-bluetti-bt/actions/workflows/hassfest_validation.yml)
|
||||||
|
[](https://github.com/Patrick762/hassio-bluetti-bt/actions/workflows/HACS.yml)
|
||||||
|
|
||||||
Bluetti Integration for Home Assistant
|
Bluetti Integration for Home Assistant
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
@@ -6,12 +10,15 @@ This integration is provided without any warranty or support by Bluetti (unfortu
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
To install this integration, you first need [HACS](https://hacs.xyz/) installed.
|
To install this integration, you first need [HACS](https://hacs.xyz/) installed.
|
||||||
|
After the installation, you can use this button to install the integration:
|
||||||
|
|
||||||
|
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=Patrick762&repository=hassio-bluetti-bt&category=integration)
|
||||||
|
|
||||||
### Supported devices:
|
### Supported devices:
|
||||||
|
|
||||||
- AC60
|
- AC60
|
||||||
- AC180 (basic data)
|
- AC180 (basic data)
|
||||||
- AC180P (basic data)
|
- AC180P (tested)
|
||||||
- AC200L (untested)
|
- AC200L (untested)
|
||||||
- AC200M
|
- AC200M
|
||||||
- AC300 (tested)
|
- AC300 (tested)
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ class AC180P(ProtocolV2Device):
|
|||||||
# Controls (2000)
|
# Controls (2000)
|
||||||
self.struct.add_bool_field('ac_output_on_switch', 2011)
|
self.struct.add_bool_field('ac_output_on_switch', 2011)
|
||||||
self.struct.add_bool_field('dc_output_on_switch', 2012)
|
self.struct.add_bool_field('dc_output_on_switch', 2012)
|
||||||
self.struct.add_bool_field('silent_charging_on', 2020)
|
self.struct.add_bool_field('silent_charging_on', 2020) # to be able to choose between normal and silent charging modes
|
||||||
|
self.struct.add_enum_field('charging_mode', 2020, ChargingMode) # can't be set from HA, custom switch needed
|
||||||
self.struct.add_bool_field('power_lifting_on', 2021)
|
self.struct.add_bool_field('power_lifting_on', 2021)
|
||||||
|
|
||||||
# Controls (2200)
|
# Controls (2200)
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ FIELD_ATTRIBUTES: dict[str, FieldAttributes] = {
|
|||||||
"silent_charging_on": FieldAttributes(
|
"silent_charging_on": FieldAttributes(
|
||||||
type=FieldType.BOOL,
|
type=FieldType.BOOL,
|
||||||
setter=True,
|
setter=True,
|
||||||
name="Silet Charging",
|
name="Silent Charging",
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user