- Replace incorrect 'target' parameter with 'entity_id' in API requests
- Add domain detection to handle different entity types (light, switch, etc.)
- Implement smart service routing based on entity domain
- Improve logging to show which service is being called