Resolves #283 Add possibility to restrat HA
This commit is contained in:
@ -6,6 +6,9 @@ class ButtonEntity extends Entity {
|
||||
@override
|
||||
Widget _buildStatePart(BuildContext context) {
|
||||
return FlatServiceButton(
|
||||
entityId: entityId,
|
||||
serviceDomain: domain,
|
||||
serviceName: 'turn_on',
|
||||
text: "EXECUTE",
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user