Comments (3)
I'm new to dev on HA / HACS (not python).
Im trying to provide better info.
Can someone tell me how i'd breakpoint or hot-reload the HACS code? is it possible?
e.g: Im messing with it like so:
async def _async_get_device_info(self, config: dict[str, Any]) -> DeviceInfo:
if not config[CONF_HOST]:
raise InvalidHost
try:
session = async_create_clientsession(self.hass)
credential = AuthCredential(config[CONF_USERNAME], config[CONF_PASSWORD])
host, port = get_host_port(config[CONF_HOST])
client = TapoClient.create(
credential, address=host, port=port, http_session=session
)
info = await client.get_device_info()
_LOGGER.info(f"_async_get_device_info info: {info}")
if info is not None:
dev_info = DeviceInfo(**info)
return (
(await client.get_device_info())
.map(lambda x: DeviceInfo(**x))
.get_or_raise()
namely:
_LOGGER.info(f"_async_get_device_info info: {info}")
is there a better / faster way to interact with the code other than what I'm doing? which is:
- change it using vs code server within HA
- reboot the HA instance
- observe
- get a cup of tea
from home-assistant-tapo-p100.
This issue is stale because it has been open for 30 days with no activity.
from home-assistant-tapo-p100.
This issue was closed because it has been inactive for 14 days since being marked as stale.
from home-assistant-tapo-p100.
Related Issues (20)
- HA doesn't see the device H100 HOT 6
- Failed to Connect - TP link M9 & XE75pro HOT 2
- Doesnโt log in to the account anymore HOT 3
- RV10 Lite(UN) (192.168.1.112 - AC15A) failed to login HOT 2
- Unable to install package plugp100==5.1.3 after HA update HOT 1
- No "hue" attribute for L530 bulb HOT 5
- Error reported when Turning TAPO L920 - reopening #736, as still ongoing with v3.1.0, 3.1.1 and 3.1.2 HOT 2
- H100 Hub not connecting to Integration if T110 Sensor is connected to the Hub HOT 32
- Adding X50 failed HOT 3
- Invalid authentication: Server response doesn't match our challenge on ip HOT 1
- user and password HOT 6
- P115 switch and support Fuse HOT 2
- KE100 not adding HOT 4
- TAPO P100 stuck in installation limbo HOT 2
- S505D "no longer supported by the tapo integration"
- S200B Smart Switch has no Trigger for button press! HOT 3
- P110 Month and Daily Energy Unavailable
- H100 not connecting to HA HOT 8
- [3.1.2] KE100 no longer recognized, integration crashes HOT 1
- Getting error: Failed to setup cannot connect HOT 3
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-tapo-p100.