mirror of
https://github.com/home-assistant/android
synced 2024-07-22 10:54:12 +00:00
Support automation entities in quick settings tiles (#3102)
This commit is contained in:
parent
9bf5299fb2
commit
bd044c9be0
|
@ -228,7 +228,7 @@ abstract class TileExtensions : TileService() {
|
|||
private const val TAG = "TileExtensions"
|
||||
private var iconPack: IconPack? = null
|
||||
private val toggleDomains = listOf(
|
||||
"cover", "fan", "humidifier", "input_boolean", "light",
|
||||
"automation", "cover", "fan", "humidifier", "input_boolean", "light",
|
||||
"media_player", "remote", "siren", "switch"
|
||||
)
|
||||
private val validActiveStates = listOf("on", "open", "locked")
|
||||
|
|
|
@ -26,7 +26,7 @@ class ManageTilesFragment : Fragment(), IconDialog.Callback {
|
|||
companion object {
|
||||
private const val TAG = "TileFragment"
|
||||
val validDomains = listOf(
|
||||
"button", "cover", "fan", "humidifier", "input_boolean", "input_button", "light",
|
||||
"automation", "button", "cover", "fan", "humidifier", "input_boolean", "input_button", "light",
|
||||
"lock", "media_player", "remote", "siren", "scene", "script", "switch"
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue