This commit is contained in:
kvanonavk committed 2024-07-05 14:42:56 +03:00
1 parent 1fbcf83b1b
commit 7b6f845edb
3 files changed
+11 -3

No files matched your search

+8 -1
View File
@@ -1,4 +1,8 @@
# hassio-bluetti-bt
[![hacs_badge](https://img.shields.io/badge/HACS-Default-41BDF5.svg)](https://github.com/hacs/integration)
[![Validate with hassfest](https://github.com/Patrick762/hassio-bluetti-bt/actions/workflows/hassfest_validation.yml/badge.svg)](https://github.com/Patrick762/hassio-bluetti-bt/actions/workflows/hassfest_validation.yml)
[![HACS Action](https://github.com/Patrick762/hassio-bluetti-bt/actions/workflows/HACS.yml/badge.svg)](https://github.com/Patrick762/hassio-bluetti-bt/actions/workflows/HACS.yml)
Bluetti Integration for Home Assistant
## Disclaimer
@@ -6,12 +10,15 @@ This integration is provided without any warranty or support by Bluetti (unfortu
## Installation
To install this integration, you first need [HACS](https://hacs.xyz/) installed.
After the installation, you can use this button to install the integration:
[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=Patrick762&repository=hassio-bluetti-bt&category=integration)
### Supported devices:
- AC60
- AC180 (basic data)
- AC180P (basic data)
- AC180P (tested)
- AC200L (untested)
- AC200M
- AC300 (tested)
@@ -22,7 +22,8 @@ class AC180P(ProtocolV2Device):
# Controls (2000)
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('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)
# Controls (2200)
@@ -324,7 +324,7 @@ FIELD_ATTRIBUTES: dict[str, FieldAttributes] = {
"silent_charging_on": FieldAttributes(
type=FieldType.BOOL,
setter=True,
name="Silet Charging",
name="Silent Charging",
),
}