core/homeassistant/components/ihc
Jens Østergaard Nielsen e0424c8322
Use shorthand attributes in IHC (#90350)
* typings to make linter happy

* Moving device_class and native_value to init

* remove is_on and use attr_is_on

* Use try_parse_enum for sensor type

* Remove not needed sensor_type

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/ihc/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-28 10:23:00 +02:00
..
__init__.py
auto_setup.py
binary_sensor.py
const.py
ihc_auto_setup.yaml
ihcdevice.py
light.py
manifest.json
manual_setup.py
sensor.py
service_functions.py
services.yaml
switch.py
util.py