-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discovery Platform #387
Discovery Platform #387
Commits on Apr 9, 2021
-
Store Name in Case as Entered by User
To be used for setting the Name in the discovery payload.
Configuration menu - View commit details
-
Copy full SHA for a1d7e2f - Browse repository at this point
Copy the full SHA a1d7e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aae73e - Browse repository at this point
Copy the full SHA 1aae73eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7091418 - Browse repository at this point
Copy the full SHA 7091418View commit details
Commits on Apr 12, 2021
-
Merge pull request #379 from krkeegan/Name_User_Case
Store Name in Case as Entered by User
Configuration menu - View commit details
-
Copy full SHA for ac4360a - Browse repository at this point
Copy the full SHA ac4360aView commit details
Commits on Apr 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cc0e895 - Browse repository at this point
Copy the full SHA cc0e895View commit details -
Add Basic Discovery Function; Implement in Dimmer Only
Adds the basic functionality for reading discovery settings from the config.yaml file. Lightly implemented in Dimmer. Still does not publish anything yet, need to monitor the homeassistant/status topic
Configuration menu - View commit details
-
Copy full SHA for 2d88db6 - Browse repository at this point
Copy the full SHA 2d88db6View commit details -
Monitor HA Status; Publish Discovery Entities on Startup
Monitors a defined topic looking for a message indicating that HomeAssistant was restarted and triggers a re-publish of discovery entities if that happens. Publish discovery entities on startup.
Configuration menu - View commit details
-
Copy full SHA for e92998e - Browse repository at this point
Copy the full SHA e92998eView commit details -
Add Device_Info_Template Variable; Add Base Dimmer Config
Device information is likely to be the same structure across all devices. Or at least most devices. This adds a variable that is defined in yaml and useable in the jinja templates. Add basic dimmer discovery entities.
Configuration menu - View commit details
-
Copy full SHA for 5e78c89 - Browse repository at this point
Copy the full SHA 5e78c89View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9f8b1 - Browse repository at this point
Copy the full SHA ea9f8b1View commit details
Commits on Apr 14, 2021
-
Add Additional Template Items to Discovery; Improve Device Info
Add additional information about the device model and such. This is all primarily cosmetic, but it might aid with support requests if a user can see their device info in a nice GUI.
Configuration menu - View commit details
-
Copy full SHA for 845475f - Browse repository at this point
Copy the full SHA 845475fView commit details -
Move Discovery_Topic_Base to MQTT Handler
This way it is only processed once, seems more streamlined.
Configuration menu - View commit details
-
Copy full SHA for 7cb339b - Browse repository at this point
Copy the full SHA 7cb339bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c162ca2 - Browse repository at this point
Copy the full SHA c162ca2View commit details -
Merge pull request #381 from krkeegan/Discovery_Base
Skeleton of Discovery Implementation
Configuration menu - View commit details
-
Copy full SHA for 4b5822d - Browse repository at this point
Copy the full SHA 4b5822dView commit details -
Fix JSON Trailing Command; Stop if No Unique_ID
JSON is quite unforgiving.
Configuration menu - View commit details
-
Copy full SHA for 7d99ac3 - Browse repository at this point
Copy the full SHA 7d99ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6229dd - Browse repository at this point
Copy the full SHA f6229ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dca2f1 - Browse repository at this point
Copy the full SHA 6dca2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f1834c - Browse repository at this point
Copy the full SHA 7f1834cView commit details
Commits on Apr 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c5cd0b8 - Browse repository at this point
Copy the full SHA c5cd0b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0929655 - Browse repository at this point
Copy the full SHA 0929655View commit details
Commits on Apr 19, 2021
-
Merge pull request #382 from krkeegan/Discovery_Additions
Discovery Documentation; Additional Variables and Tweaks
Configuration menu - View commit details
-
Copy full SHA for 600b377 - Browse repository at this point
Copy the full SHA 600b377View commit details -
Configuration menu - View commit details
-
Copy full SHA for a58077d - Browse repository at this point
Copy the full SHA a58077dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95393aa - Browse repository at this point
Copy the full SHA 95393aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5311215 - Browse repository at this point
Copy the full SHA 5311215View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec29c33 - Browse repository at this point
Copy the full SHA ec29c33View commit details
Commits on Apr 20, 2021
-
Rename Discovery Attributes; Fix Error in Conifg Inheritance
Can't use default discovery class name for selecting the config section, it will cause the wrong inheritance with things like fan_linc inheritting dimmer settings. Rename some variables and add better descriptions to try and make them more clear.
Configuration menu - View commit details
-
Copy full SHA for 0d85fa1 - Browse repository at this point
Copy the full SHA 0d85fa1View commit details -
Move Topic Append to Load Config Instead of Discovery Data
Rather than extending a method, I think it is more concise and makes more sense to load this data into the rendered topics map on load.
Configuration menu - View commit details
-
Copy full SHA for 727063a - Browse repository at this point
Copy the full SHA 727063aView commit details -
Enable Unique Topic Keys; Generate Extra Topics in Scene and Set
Primarily to support KPL. But other devices may need this as well.
Configuration menu - View commit details
-
Copy full SHA for 58b067c - Browse repository at this point
Copy the full SHA 58b067cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e690a - Browse repository at this point
Copy the full SHA 61e690aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a248cdb - Browse repository at this point
Copy the full SHA a248cdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bcccbc - Browse repository at this point
Copy the full SHA 5bcccbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1890087 - Browse repository at this point
Copy the full SHA 1890087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eeda26 - Browse repository at this point
Copy the full SHA 9eeda26View commit details -
Configuration menu - View commit details
-
Copy full SHA for abde054 - Browse repository at this point
Copy the full SHA abde054View commit details
Commits on Apr 21, 2021
-
Merge pull request #384 from krkeegan/Discovery_Devices
Add Discovery Support to All Devices
Configuration menu - View commit details
-
Copy full SHA for 393ef8b - Browse repository at this point
Copy the full SHA 393ef8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75586db - Browse repository at this point
Copy the full SHA 75586dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b344be - Browse repository at this point
Copy the full SHA 4b344beView commit details -
Catch Wider Range of Exceptions; Tests for DiscoveryTopic
Need to broaden the range of jinja exceptions that are caught. Adds unit tests for discoveryTopic.load_discovery_data and _get_unique_id
Configuration menu - View commit details
-
Copy full SHA for 1662607 - Browse repository at this point
Copy the full SHA 1662607View commit details -
Configuration menu - View commit details
-
Copy full SHA for f06491b - Browse repository at this point
Copy the full SHA f06491bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed3ed9f - Browse repository at this point
Copy the full SHA ed3ed9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5681bdd - Browse repository at this point
Copy the full SHA 5681bddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b1a11 - Browse repository at this point
Copy the full SHA d7b1a11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 414e3bc - Browse repository at this point
Copy the full SHA 414e3bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 462c7df - Browse repository at this point
Copy the full SHA 462c7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be8152 - Browse repository at this point
Copy the full SHA 5be8152View commit details
Commits on Apr 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 92ee592 - Browse repository at this point
Copy the full SHA 92ee592View commit details -
Configuration menu - View commit details
-
Copy full SHA for f75a53e - Browse repository at this point
Copy the full SHA f75a53eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 998e63e - Browse repository at this point
Copy the full SHA 998e63eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3498556 - Browse repository at this point
Copy the full SHA 3498556View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3aec55 - Browse repository at this point
Copy the full SHA b3aec55View commit details
Commits on Apr 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 64d2132 - Browse repository at this point
Copy the full SHA 64d2132View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c6fdc - Browse repository at this point
Copy the full SHA 32c6fdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d950702 - Browse repository at this point
Copy the full SHA d950702View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bf1726 - Browse repository at this point
Copy the full SHA 2bf1726View commit details -
Add Discovery Unit Tests to Thermostat
Man this test file is not well written, who did this? .... oh yeah it was me.
Configuration menu - View commit details
-
Copy full SHA for 999043c - Browse repository at this point
Copy the full SHA 999043cView commit details -
Change Variable Name For Comprehension; Pass Dict Copy to Publish
entries was a very generic name , disc_templates does a better job describing what it is. Pass a copy of a dict. Passing the actual dict seemed to work fine, but on the off chance that publish somehow happens async need to pass a copy since we alter data immediately after passing it.
Configuration menu - View commit details
-
Copy full SHA for ba18a0d - Browse repository at this point
Copy the full SHA ba18a0dView commit details -
Remove Scene_Topic from Modem Template Variables
It is replaced by discovery_publish() but still best not to leave this around.
Configuration menu - View commit details
-
Copy full SHA for bceba22 - Browse repository at this point
Copy the full SHA bceba22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29a3743 - Browse repository at this point
Copy the full SHA 29a3743View commit details -
Configuration menu - View commit details
-
Copy full SHA for dab790a - Browse repository at this point
Copy the full SHA dab790aView commit details -
Merge pull request #385 from krkeegan/Discovery_Tests
Add Unit Tests to Discovery Platform
Configuration menu - View commit details
-
Copy full SHA for a5f98f4 - Browse repository at this point
Copy the full SHA a5f98f4View commit details -
Skip Discovery Topic Loading if Discovery Disabled
Squelches a bunch of potential discovery log messages that are unnecessary.
Configuration menu - View commit details
-
Copy full SHA for a8331a3 - Browse repository at this point
Copy the full SHA a8331a3View commit details
Commits on Apr 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6557c02 - Browse repository at this point
Copy the full SHA 6557c02View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3d1f73 - Browse repository at this point
Copy the full SHA a3d1f73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a97a82 - Browse repository at this point
Copy the full SHA 1a97a82View commit details -
Configuration menu - View commit details
-
Copy full SHA for feb0c1d - Browse repository at this point
Copy the full SHA feb0c1dView commit details
Commits on Apr 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a2b5b8b - Browse repository at this point
Copy the full SHA a2b5b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for abce7c3 - Browse repository at this point
Copy the full SHA abce7c3View commit details -
Alter Hoe Modem Loads Discovery Templates
Necessary because the modem only uses a single template with an indeterminate, until run time, number of topics generated
Configuration menu - View commit details
-
Copy full SHA for a36d6fd - Browse repository at this point
Copy the full SHA a36d6fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74534a0 - Browse repository at this point
Copy the full SHA 74534a0View commit details -
Limit Characters in Discovery Topic; Revert Remove Period Address
The HA implementation of the discovery protocol only allows a very small subset of characters for use in the node_id and the object_id. This replaces all un-allowed characters with an underscore. Also removed the ability to set the topic via yaml. This never really worked anyways and would create potential problems. Reverted changing the periods in the address to underscores, periods are still fine in the unique_id, just not in the topic string.
Configuration menu - View commit details
-
Copy full SHA for 2155de7 - Browse repository at this point
Copy the full SHA 2155de7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dec23a - Browse repository at this point
Copy the full SHA 6dec23aView commit details -
Merge pull request #390 from krkeegan/Discovery_Tweaks
Discovery Tweaks After Initial Usage
Configuration menu - View commit details
-
Copy full SHA for 02ced94 - Browse repository at this point
Copy the full SHA 02ced94View commit details
Commits on Apr 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for eb19a54 - Browse repository at this point
Copy the full SHA eb19a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for e688e44 - Browse repository at this point
Copy the full SHA e688e44View commit details -
Merge pull request #394 from krkeegan/Discovery_Tweaks
Discovery Tweaks and Fixes
Configuration menu - View commit details
-
Copy full SHA for f36991f - Browse repository at this point
Copy the full SHA f36991fView commit details
Commits on Apr 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a4dd2d5 - Browse repository at this point
Copy the full SHA a4dd2d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f044133 - Browse repository at this point
Copy the full SHA f044133View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ec067 - Browse repository at this point
Copy the full SHA 87ec067View commit details