https://github.com/alexxit/slowsensor
https://github.com/alexxit/slowsensor
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexxit/slowsensor
- Owner: AlexxIT
- Created: 2021-01-06T18:50:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T18:58:02.000Z (over 5 years ago)
- Last Synced: 2025-02-05T16:16:48.596Z (over 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slow Sensor
Home Assistant component to demonstrate problem freezing whole Hass from only one "bad" component.
## Configuration
Every 5 seconds your Hass will not show signs of life for 5 seconds:
```yaml
sensor:
- platform: slow_sensor
scan_interval: '00:00:05'
sleep: 5
```
Similar example, but you won't get **WARNING**:
Updating slow_sensor sensor took longer than the scheduled update interval 0:00:05
```yaml
sensor:
- platform: slow_sensor
scan_interval: '00:00:10'
sleep: 5
```