This should simply return app status.
# example configuration:
binary_sensor:
- platform: app_status
name: App warning state
detect_status: warning
- platform: app_status
name: App error state
detect_status: error
- platform: app_status
name: App error or warning state
detect_status:
- warning
- error
- platform: app_status
name: App ok
detect_status:
- warning
- error
filters:
- invert: