Commit 611302b5 authored by Ľuboš Jenčík's avatar Ľuboš Jenčík
Browse files

pumpy

parent 2c1aa5d1
{"$":"4b1e3f969736f6c18fa9079ca9131930r2MepDlbor9+x1Bxbcs+7TbJGMDcA/saoInHbr2nxgMAbNByfdJO1W38Dtl61gdg+FlpS1/zsN5Kl+XgdevH3T5saONEiWR55oQPfJB9/bk="}
\ No newline at end of file
{"$":"4181fdc15f66ab8c3a180cb4f3beef56RAopPnUap9Y0Z/9EC/V9cqlSipBtvL+iisqCUHF84w2+5QGUDQj/SushibwC1Fir2auoGYeReTfegAbWH+rdiy2gcC6SyXW1UlVgD8bvYmN85gj39DWrfwbnO8HoZs0Fhz4Eo3Y="}
\ No newline at end of file
This diff is collapsed.
2021.4.6
\ No newline at end of file
2021.4.5
\ No newline at end of file
......@@ -83,7 +83,7 @@
"access_token_expiration": 1800.0,
"token": "71ea72714ae0f7c9cf41c3a98ba6c72819426561dcb9c31ad566f94b95ff0cbcdbd6ea28bca7bfbe0bac106f20fcd6e458a559f05e9234895542ead7fcac77fa",
"jwt_key": "c5ed344152aa078b99437e249de7a4e69dab75428379960015f4aed043d53f163fdf3e4bd2defd387002e44d84b63883b24dc8bbcec36fabc0d43eaa029e4110",
"last_used_at": "2021-04-27T12:04:21.828843+00:00",
"last_used_at": "2021-04-27T15:20:44.105696+00:00",
"last_used_ip": "192.168.99.1",
"credential_id": "33da0f9bc92c4c139140820d1d25899b",
"version": "2021.4.5"
......
......@@ -13,7 +13,7 @@
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
......@@ -30,7 +30,7 @@
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
......@@ -47,7 +47,7 @@
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
......@@ -64,12 +64,46 @@
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Garden Hourly",
"original_icon": null
},
{
"entity_id": "switch.pump_of_well_1",
"config_entry_id": null,
"device_id": null,
"area_id": null,
"unique_id": "1",
"platform": "mqtt",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Pump of well 1",
"original_icon": null
},
{
"entity_id": "switch.pump_of_well_2",
"config_entry_id": null,
"device_id": null,
"area_id": null,
"unique_id": "2",
"platform": "mqtt",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Pump of well 2",
"original_icon": null
}
]
}
......
......@@ -9,18 +9,53 @@
"attributes": {
"editable": false,
"id": "hackathon_2021",
"source": "person.hackathon_2021",
"user_id": "e1c1de7135b9419386f3b38ae8cdeb07",
"friendly_name": "Hackathon-2021"
},
"last_changed": "2021-04-27T13:31:23.906871+00:00",
"last_updated": "2021-04-27T13:31:25.321872+00:00",
"last_changed": "2021-04-27T15:24:51.156045+00:00",
"last_updated": "2021-04-27T15:24:51.156045+00:00",
"context": {
"id": "0921a7072c540b5bc7b5f127c6b16485",
"id": "ad31da480c7cb5127ba0af8b66efb0a0",
"parent_id": null,
"user_id": null
}
},
"last_seen": "2021-04-27T14:29:25.935937+00:00"
"last_seen": "2021-04-27T15:24:54.355863+00:00"
},
{
"state": {
"entity_id": "switch.pump_of_well_1",
"state": "off",
"attributes": {
"friendly_name": "Pump of well 1"
},
"last_changed": "2021-04-27T15:24:53.237203+00:00",
"last_updated": "2021-04-27T15:24:53.237203+00:00",
"context": {
"id": "036437cd5c190bf7cf3e256b90191a0e",
"parent_id": null,
"user_id": null
}
},
"last_seen": "2021-04-27T15:24:54.355863+00:00"
},
{
"state": {
"entity_id": "switch.pump_of_well_2",
"state": "off",
"attributes": {
"friendly_name": "Pump of well 2"
},
"last_changed": "2021-04-27T15:24:53.267848+00:00",
"last_updated": "2021-04-27T15:24:53.267848+00:00",
"context": {
"id": "9c3273eca774a17a5bef4699e0cb9aa2",
"parent_id": null,
"user_id": null
}
},
"last_seen": "2021-04-27T15:24:54.355863+00:00"
}
]
}
\ No newline at end of file
......@@ -2,12 +2,12 @@
"version": 1,
"key": "http",
"data": {
"login_attempts_threshold": -1,
"cors_allowed_origins": [
"https://cast.home-assistant.io"
],
"login_attempts_threshold": -1,
"server_port": 8123,
"ip_ban_enabled": true,
"ssl_profile": "modern",
"ip_ban_enabled": true
"server_port": 8123
}
}
\ No newline at end of file
......@@ -381,6 +381,19 @@
}
],
"image": "https://i.imgur.com/6dyFd5z.png"
},
{
"type": "entities",
"entities": [
{
"entity": "switch.pump_of_well_1"
},
{
"entity": "switch.pump_of_well_2"
}
],
"title": "Pumps",
"show_header_toggle": false
}
]
},
......
......@@ -283,3 +283,25 @@ sensor:
field: value
database: home_assistant
switch:
- platform: mqtt
state_topic: "irrigation/pump1/switch"
command_topic: "irrigation/pump1/switch"
name: "Pump of well 1"
qos: 2
retain: true
payload_on: 1
payload_off: 0
unique_id: 1
- platform: mqtt
state_topic: "irrigation/pump2/switch"
command_topic: "irrigation/pump2/switch"
name: "Pump of well 2"
qos: 2
retain: true
payload_on: 1
payload_off: 0
unique_id: 2
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment