Add silver quality scale to goalzero (#53299)
* Add platinum quality scale to goalzero * adjust for quality scale * Update manifest.json
This commit is contained in:
parent
e6ba3b41cb
commit
bba6a75934
3 changed files with 3 additions and 2 deletions
|
@ -53,8 +53,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
try:
|
||||
await api.init_connect()
|
||||
except exceptions.ConnectError as ex:
|
||||
_LOGGER.warning("Failed to connect to device %s", ex)
|
||||
raise ConfigEntryNotReady from ex
|
||||
raise ConfigEntryNotReady(f"Failed to connect to device: {ex}") from ex
|
||||
|
||||
async def async_update_data():
|
||||
"""Fetch data from API endpoint."""
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
{"hostname": "yeti*"}
|
||||
],
|
||||
"codeowners": ["@tkdrob"],
|
||||
"quality_scale": "silver",
|
||||
"iot_class": "local_polling"
|
||||
}
|
||||
|
|
|
@ -110,6 +110,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||
name="Wifi Strength",
|
||||
device_class=DEVICE_CLASS_SIGNAL_STRENGTH,
|
||||
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="timestamp",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue