mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Discover Z-Wave values by index (#7853)
* Discover Z-Wave values by index * Add URLs for enums (Some Assembly Required) * URLs on one line * Move lint suppression to single line
This commit is contained in:
@@ -308,9 +308,9 @@ def test_value_discovery_existing_entity(hass, mock_openzwave):
|
||||
with patch.object(zwave.node_entity.ZWaveBaseEntity,
|
||||
'maybe_schedule_update', new=mock_update):
|
||||
temperature = MockValue(
|
||||
data=23.5, node=node, index=12, instance=13,
|
||||
data=23.5, node=node, index=1, instance=13,
|
||||
command_class=const.COMMAND_CLASS_SENSOR_MULTILEVEL,
|
||||
label='Temperature', genre=const.GENRE_USER, units='C')
|
||||
genre=const.GENRE_USER, units='C')
|
||||
hass.async_add_job(mock_receivers[0], node, temperature)
|
||||
yield from hass.async_block_till_done()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user