* Only replace a node if the mfgr id / prod id / prod type differ * Prefer original device name for unready node * move register_node_in_dev_reg into async_setup_entry * simplify get_device_id_ext * Don't need hex ids * Revert "move register_node_in_dev_reg into async_setup_entry" This reverts commit f900e5fb0c67cc81657a1452b51c313bccb6f9e1. * Revert Callable change * Revert device backup name * Add test fixtures * Update existing not ready test with new fixture data * Check device properties after node added event * Add entity check * Check for extended device id * better device info checks * Use receive_event to properly setup components * Cleanup tests * improve test_replace_different_node * improve test_replace_same_node * add test test_node_model_change * Clean up long comments and strings * Format * Reload integration to detect node device config changes * update assertions * Disable entities on "value removed" event * Disable node status sensor on node replacement * Add test for disabling entities on remove value event * Add test for disabling node status sensor on node replacement * disable entity -> remove entity Co-authored-by: Martin Hjelmare <marhje52@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
common.py | ||
conftest.py | ||
test_api.py | ||
test_binary_sensor.py | ||
test_climate.py | ||
test_config_flow.py | ||
test_cover.py | ||
test_device_action.py | ||
test_device_condition.py | ||
test_device_trigger.py | ||
test_discovery.py | ||
test_events.py | ||
test_fan.py | ||
test_init.py | ||
test_light.py | ||
test_lock.py | ||
test_migrate.py | ||
test_number.py | ||
test_select.py | ||
test_sensor.py | ||
test_services.py | ||
test_siren.py | ||
test_switch.py | ||
test_trigger.py |