File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 run : |
3535 python -m pip install --upgrade pip
3636 pip install pytest pytest-asyncio syrupy homeassistant pytest-homeassistant-custom-component victron_mqtt
37+ - name : Log environment
38+ run : |
39+ python --version
40+ pip show homeassistant pytest-homeassistant-custom-component syrupy victron_mqtt | grep -E "^(Name|Version)"
41+ pip freeze | sort
3742 - name : Run tests
38- run : pytest tests/
43+ run : pytest tests/ -vv
Original file line number Diff line number Diff line change @@ -662,6 +662,7 @@ async def test_number_set_value(
662662 await inject_message (victron_hub , "N/123/evcharger/0/SetCurrent" , '{"value": 20.0}' )
663663 await hass .async_block_till_done ()
664664 state = hass .states .get (entity_id )
665+ assert state is not None
665666 assert float (state .state ) == 20.0
666667
667668 # Set value via service
You can’t perform that action at this time.
0 commit comments