Home Assistant Skill
Control your Home Assistant smart home devices through OVOS or Neon.AI voice assistants.
This unified skill replaces the legacy neon-homeassistant-skill and ovos-PHAL-plugin-homeassistant. Note: Do not install this skill alongside the legacy versions.
Features
- Control lights (on/off, brightness, color)
- Control switches and outlets
- Monitor sensors
- Control covers (open/close, position)
- Activate scenes and run scripts (e.g. "turn on movie night")
- Silent mode for specific devices
- Support for Home Assistant Assist API
Installation on Neon
You can pip install neon-homeassistant-skill, or handle the installation from the ~/.config/neon/neon.yaml file if you prefer:
skills:
default_skills:
- skill-homeassistant # Optionally with a version, such as skill-homeassistant==0.1.0
Configuration
Authentication Using a Long-lived Token
We recommend using a long-lived token for Home Assistant. This provides persistent access without requiring re-authentication. Configure it in your skill settings file:
- OVOS:
~/.config/mycroft/skills/skill-homeassistant/settings.json - Neon:
~/.config/neon/skills/neon_homeassistant_skill/settings.json
{
"api_key": "<HA_LONG_LIVED_TOKEN>",
"host": "<HA_IP_OR_HOSTNAME>"
}
Configuration Options
All available settings with their defaults:
{
"host": "", // Home Assistant instance URL - required, no default
"api_key": "", // Long-lived access token - required, no default
"disable_intents": false, // Disable all Home Assistant intents. In most cases, you should just uninstall the skill instead of setting this to true.
"silent_entities": [], // List of entities to control without voice confirmation
"brightness_increment": 10, // Percentage to change brightness by
"search_confidence_threshold": 0.5, // Minimum confidence for entity matching, from 0 to 1 (correlates to a percentage)
"assist_only": true, // Only pull entities exposed to Home Assistant Assist
"timeout": 5, // Timeout for Home Assistant API requests in seconds
"log_level": "INFO" // Logging level (DEBUG, INFO, WARNING, ERROR)
}
Hostname Considerations
Mycroft Mark II may not support .local hostnames (e.g., homeassistant.local). Options include:
- Use the IP address of your Home Assistant instance (recommended for local access)
- Use your Nabu Casa DNS if you have a subscription (requires internet connectivity)
- Use a local DNS server that resolves to your Home Assistant instance
Usage
Voice Commands
Lights
- "Turn on/off [device name]"
- "Set [device name] brightness to [X] percent"
- "Increase/decrease [device name] brightness"
- "What color is [device name]?"
- "Set [device name] color to [color]"
- "What's the brightness of [device name]?"
Switches
- "Turn on/off [device name]"
- "Toggle [device name]"
Covers
- "Open/Close [device name]"
- "Set [device name] position to [X] percent"
- "Stop [device name]"
Sensors
- "What's the temperature in [sensor name]?"
- "What's the status of [sensor name]?"
Home Assistant Assist
- "Ask Home Assistant [command]" (passes command directly to HA Assist API)
Silent Mode
Add devices to the silent_entities list to control them without voice feedback:
{
"silent_entities": ["light.kitchen", "switch.office"]
}
Disabling Intents
If you don't want the skill's intents enabled (e.g., when shipping in a voice assistant image), set disable_intents to true:
{
"disable_intents": true
}
Troubleshooting
Common Issues
-
Connection Failures
- Verify your Home Assistant instance is reachable
- Check the host URL format (should include protocol, e.g.,
https://) - Ensure your token has the required permissions
-
Entity Not Found
- Check if the entity is exposed to Home Assistant Assist
- Verify the entity name matches exactly
- Try using the entity's friendly name
-
Authentication Issues
- For long-lived tokens: Verify the token is valid and not expired
- For OAuth: Try re-authenticating with "connect to home assistant"
Debug Mode
Enable debug logging for more detailed information:
{
"debug": true,
"log_level": "DEBUG"
}
Upcoming Features
- Vacuum functions
- HVAC functions
- Media player control
- Camera integration
Contributing
Contributions are very welcome! Please read our contributing guidelines and submit pull requests to our GitHub repository.
License
Apache License 2.0
Metadata
Release files for skill-homeassistant 1.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skill_homeassistant-1.4.7.tar.gz | 38.6 kB | Without provenance | Details for skill_homeassistant-1.4.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skill_homeassistant-1.4.7-py3-none-any.whl | Python 3 | none | any | Details for skill_homeassistant-1.4.7-py3-none-any.whl |
Total release size: 129.8 kB
Release files / skill_homeassistant-1.4.7.tar.gz
| Download URL | skill_homeassistant-1.4.7.tar.gz |
|---|---|
| Size | 38.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13b75ea2b413cb991daa5e81e98ed7ee5ab43f23f35ccb65cc3248a6b0cfeb0a
|
|
BLAKE2b-256 checksum How to use checksums |
fae15a31d5c1328a01476c82886caff218670ebe1791501dfb0ab2e6630ce8aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / skill_homeassistant-1.4.7-py3-none-any.whl
| Download URL | skill_homeassistant-1.4.7-py3-none-any.whl |
|---|---|
| Size | 91.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e076c1463018a1edefb02daa4e724e1257713f58db10120fe914b758208c4dbc
|
|
BLAKE2b-256 checksum How to use checksums |
e2373285cf9e2fb13e8aad393e11fd068f2aae9b0e9a40cbe0d67b1ce5bd9a9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for skill-homeassistant 1.4.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.