mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
Remove unused camera command (#5068)
This commit is contained in:
parent
b4f0fce600
commit
2b8b9f8311
@ -41,15 +41,6 @@ export const fetchThumbnailUrl = async (
|
|||||||
return hass.hassUrl(path.path);
|
return hass.hassUrl(path.path);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const fetchThumbnail = (hass: HomeAssistant, entityId: string) => {
|
|
||||||
// tslint:disable-next-line: no-console
|
|
||||||
console.warn("This method has been deprecated.");
|
|
||||||
return hass.callWS<CameraThumbnail>({
|
|
||||||
type: "camera_thumbnail",
|
|
||||||
entity_id: entityId,
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
export const fetchStreamUrl = async (
|
export const fetchStreamUrl = async (
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
entityId: string,
|
entityId: string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user