* Add sensor platform * Add tests * Fix icons.json * Use entry.runtime_data * Remove validate_input function * Change abort reason to cannot_connect * Remove unnecessary square brackets * Move _attr_attribution outside the constructor * Use native_value property * Use is with ENUMs * Import SOURCE_USER * Change test name * Use freezer.tick * Tests refactoring * Remove test_setup_entry * Test creating entry after error * Add missing async_block_till_done * Fix translation key * Remove coordinator type annotation * Enable strict typing * Assert config entry unique_id --------- Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
11 lines
215 B
Python
11 lines
215 B
Python
"""Constants for the IMGW-PIB integration."""
|
|
|
|
from datetime import timedelta
|
|
|
|
DOMAIN = "imgw_pib"
|
|
|
|
ATTRIBUTION = "Data provided by IMGW-PIB"
|
|
|
|
CONF_STATION_ID = "station_id"
|
|
|
|
UPDATE_INTERVAL = timedelta(minutes=30)
|