From 682417d2c7524bd77b8c216493eec5dcfb001cb8 Mon Sep 17 00:00:00 2001 From: Alex-Klein <57624523+Alex-Klein@users.noreply.github.com> Date: Wed, 18 Nov 2020 00:20:59 +0100 Subject: [PATCH] Add TV channel name to smartthings integration (#41729) * Adds TV channel name to smartthings integration * fix on attribute to not override key --- homeassistant/components/smartthings/sensor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index e07424520d2..835c4168f07 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -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,