Add TV channel name to smartthings integration (#41729)

* Adds TV channel name to smartthings integration

* fix on attribute to not override key
This commit is contained in:
Alex-Klein 2020-11-18 00:20:59 +01:00 committed by GitHub
parent 1567fadda3
commit 682417d2c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,10 @@ CAPABILITY_TO_SENSORS = {
)
],
Capability.three_axis: [],
Capability.tv_channel: [Map(Attribute.tv_channel, "Tv Channel", None, None)],
Capability.tv_channel: [
Map(Attribute.tv_channel, "Tv Channel", None, None),
Map(Attribute.tv_channel_name, "Tv Channel Name", None, None),
],
Capability.tvoc_measurement: [
Map(
Attribute.tvoc_level,