SFHasan
(Syed Faisal Hasan)
August 18, 2019, 7:01pm
4
So searching around I learned the HA option to override built in components by putting (updated and syntax corrected) custom components in the folder by the same name, as explained over here
Had this yesterday with a function that was broken in the latest update and the great man himself, @balloob , pointed me in the right direction.
Copy the file you want to edit into the custom_components folder but make sure you recreate the folder path inside that folder, for example, I needed to edit harmony.py which is here…
/usr/lib/python3.6/site-packages/homeassistant/components/remote/harmony.py
…so I added /config/custom_components/remote/harmony.py
If you get errors about not finding …
Since it was mentioned here that the syntax for API has been corrected in the component file
home-assistant:dev
← paraselene:tile-api-update
opened 11:11AM - 11 Aug 19 UTC
## Breaking Change:
No
## Description:
Tile API use last_tile_state ins… tead of tileState now
**Related issue (if applicable):** fixes #25815
**Pull request with documentation for [home-assistant.io](https://github.com/home-assistant/home-assistant.io) (if applicable):** home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
## Example entry for `configuration.yaml` (if applicable):
```yaml
```
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [home-assistant.io](https://github.com/home-assistant/home-assistant.io)
If the code communicates with devices, web services, or third-party tools:
- [ ] [_The manifest file_][manifest-docs] has all fields filled out correctly. Update and include derived files by running `python3 -m script.hassfest`.
- [ ] New or updated dependencies have been added to `requirements_all.txt` by running `python3 -m script.gen_requirements_all`.
- [ ] Untested files have been added to `.coveragerc`.
If the code does not interact with devices:
- [x] Tests have been added to verify that the new code works.
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[manifest-docs]: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
I downloaded the updated filed from Git repository and placed them as-it-is in the custom components under a /tile folder and voila…the problem seems to be fixed.
Well another day of learning about this awesome community driven monolith.
Thanks everyone for helping.