Android: Add support for charger state

Created on 17 Feb 2020  路  3Comments  路  Source: home-assistant/android

Home Assistant Android version:
Last commit available on github.

Android version:
9.0

Phone model:
Samsung Galaxy J7 2017

Home Assistant version:
0.105.4

Last working Home Assistant release (if known):
N/A

Description of problem:

The full integration of an android smartphone with its main status reported to Home Assistant would improve the data available for automations regarding the phone states:

The ones for the charging plug:
android.intent.action.ACTION_POWER_CONNECTED
android.intent.action.ACTION_POWER_DISCONNECTED

This possibility would be awesome for automations regarding routines and voice assistants.

This full integration on the HA app would require less complexity, resources used by a bunch of apps and generally more efficient workflow and HA configuration.

Comments

Related to https://github.com/home-assistant/home-assistant-android/issues/201#issuecomment-584741995.

enhancement sensor-tracking

Most helpful comment

This is already implemented as an attribute of the battery sensor 馃檹

All 3 comments

This is already implemented as an attribute of the battery sensor 馃檹

Screenshot_20200217-124643_Home Assistant

@allanpersson, thanks, I didn't notice it. 鉂わ笍

I'm closing this issue.

Was this page helpful?
0 / 5 - 0 ratings