* add poll_value service * switch vol.All to vol.Schema * more relevant log message * switch service name to refresh_value, add parameter to refresh all watched values, fix tests * rename parameter and create task for polling command so we don't wait for a response * raise ValueError for unknown entity * better error message * fix test
18 lines
1 KiB
Python
18 lines
1 KiB
Python
"""Provide common test tools for Z-Wave JS."""
|
|
AIR_TEMPERATURE_SENSOR = "sensor.multisensor_6_air_temperature"
|
|
ENERGY_SENSOR = "sensor.smart_plug_with_two_usb_ports_value_electric_consumed_2"
|
|
POWER_SENSOR = "sensor.smart_plug_with_two_usb_ports_value_electric_consumed"
|
|
SWITCH_ENTITY = "switch.smart_plug_with_two_usb_ports"
|
|
LOW_BATTERY_BINARY_SENSOR = "binary_sensor.multisensor_6_low_battery_level"
|
|
ENABLED_LEGACY_BINARY_SENSOR = "binary_sensor.z_wave_door_window_sensor_any"
|
|
DISABLED_LEGACY_BINARY_SENSOR = "binary_sensor.multisensor_6_any"
|
|
NOTIFICATION_MOTION_BINARY_SENSOR = (
|
|
"binary_sensor.multisensor_6_home_security_motion_detection"
|
|
)
|
|
NOTIFICATION_MOTION_SENSOR = "sensor.multisensor_6_home_security_motion_sensor_status"
|
|
PROPERTY_DOOR_STATUS_BINARY_SENSOR = (
|
|
"binary_sensor.august_smart_lock_pro_3rd_gen_the_current_status_of_the_door"
|
|
)
|
|
CLIMATE_RADIO_THERMOSTAT_ENTITY = "climate.z_wave_thermostat"
|
|
CLIMATE_DANFOSS_LC13_ENTITY = "climate.living_connect_z_thermostat"
|
|
CLIMATE_FLOOR_THERMOSTAT_ENTITY = "climate.floor_thermostat"
|