Comments (5)
- Open the
__init__.py
file incustom_components/petkit
. - Under the line
from homeassistant.core import HomeAssistant
add this new line:from homeassistant.helpers import device_registry as dr
- At the very end of the file, add the following function:
async def async_remove_config_entry_device(
hass: HomeAssistant, config_entry: ConfigEntry, device_entry: dr.DeviceEntry
) -> bool:
"""Remove a config entry from a device."""
return True
Save the changes and restart Home Assistant. You should now see a delete button when you click on the Pura X device.
from home-assistant-petkit.
Nice, that worked thank you!
from home-assistant-petkit.
Thanks for bringing that to my attention. At the moment, no. I will have to add a function for removing a device manually. It is implemented for an entire config entry, but currently missing for individual devices.
from home-assistant-petkit.
Cool, I wish I had the ability to help you out there -- but, happy to help you test when you have time. Thank you
from home-assistant-petkit.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from home-assistant-petkit.
Related Issues (20)
- Pet weight rounded on pura max HOT 3
- very sporadic updates HOT 1
- Battery state and status - Infinity Feeder HOT 3
- Would it be possible to support trackers via API pooling? HOT 5
- Eversweet Max support HOT 10
- Missing "Adsorption Enhance" switch HOT 13
- Eversweet energy usage HOT 5
- Feeding schedule HOT 2
- Update Discord invitation link please. HOT 1
- Eversweet Max HOT 6
- HA restart causes the feeder solo to trigger the meal function HOT 4
- Issues on pura max HOT 20
- Hack for local control HOT 1
- support for petkit yumshare dual-hopper with camera HOT 1
- Config flow could not be loaded: {"message":"Invalid handler specified" HOT 6
- PetKit Error 97: App is out of date, please upgrade HOT 1
- Home Assistant Upgrade to 2024.6.0 causing error - Error doing job: Task exception was never retrieved HOT 3
- PETKIT Pura Air - Bluetooth Support HOT 1
- Petkit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-petkit.