Fix EZVIZ spelling case (#79164)

* Fix EZVIZ spelling case

The vendor seems consistent about all-uppercase spelling, so let's
follow suit.

* Revert changes to translations other than English
This commit is contained in:
Ville Skyttä 2022-09-28 08:41:33 +03:00 committed by GitHub
parent 38f3fa0762
commit b54458dfba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 42 additions and 42 deletions

View file

@ -1,4 +1,4 @@
"""Support for Ezviz binary sensors."""
"""Support for EZVIZ binary sensors."""
from __future__ import annotations
from homeassistant.components.binary_sensor import (
@ -35,7 +35,7 @@ BINARY_SENSOR_TYPES: dict[str, BinarySensorEntityDescription] = {
async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
) -> None:
"""Set up Ezviz sensors based on a config entry."""
"""Set up EZVIZ sensors based on a config entry."""
coordinator: EzvizDataUpdateCoordinator = hass.data[DOMAIN][entry.entry_id][
DATA_COORDINATOR
]
@ -52,7 +52,7 @@ async def async_setup_entry(
class EzvizBinarySensor(EzvizEntity, BinarySensorEntity):
"""Representation of a Ezviz sensor."""
"""Representation of a EZVIZ sensor."""
def __init__(
self,